Remove unnecessary logging

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2023-06-06 13:29:28 +03:00
1 parent 00db92e22e
commit 915308c6a6
3 files changed
-8

No files matched your search

@@ -22,8 +22,6 @@ const prometheusDetailsChannelListener =
const prometheusHandler = di.inject(prometheusHandlerInjectable, cluster);
const details = await prometheusHandler.getPrometheusDetails();
console.log(details);
return {
prometheusPath: details.prometheusPath,
provider: {
@@ -5,11 +5,6 @@
import React from "react";
import { SubTitle } from "../layout/sub-title";
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
interface PrometheusDetailsProps {
providerName: string;
path: string;
@@ -142,7 +142,6 @@ class NonInjectedClusterPrometheusSetting extends React.Component<ClusterPrometh
type: "success",
details,
};
this.props.logger.info(`[CLUSTER-SETTINGS]: Prometheus details loaded: ${JSON.stringify(this.prometheusDetails)}`);
} catch (error) {
this.props.logger.error(`[CLUSTER-SETTINGS]: Failed to load prometheus details: ${error}`);
this.prometheusDetails = {