1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-28 11:53:41 +03:00

Remove unnecessary logging

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

View File

@ -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: {

View File

@ -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;

View File

@ -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 = {