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:
parent
00db92e22e
commit
915308c6a6
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user