From 2eb36a6aea1fec4ef39896ec254c7618d5f5fe9d Mon Sep 17 00:00:00 2001 From: Nithunikzz Date: Mon, 25 Mar 2024 15:49:45 +0530 Subject: [PATCH] fix --- agent/kubviz/k8smetrics_agent.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/kubviz/k8smetrics_agent.go b/agent/kubviz/k8smetrics_agent.go index e31e685b..d0c0c7f6 100644 --- a/agent/kubviz/k8smetrics_agent.go +++ b/agent/kubviz/k8smetrics_agent.go @@ -67,7 +67,7 @@ var ( func main() { log.SetFlags(log.LstdFlags | log.Lshortfile) env := Production - //clusterMetricsChan := make(chan error, 1) + clusterMetricsChan := make(chan error, 1) cfg, err := config.GetAgentConfigurations() if err != nil { log.Fatal("Failed to retrieve agent configurations", err) @@ -131,7 +131,7 @@ func main() { } }() - //go events.PublishMetrics(clientset, js, clusterMetricsChan) + go events.PublishMetrics(clientset, js, clusterMetricsChan) if cfg.KuberHealthyEnable { go kuberhealthy.StartKuberHealthy(js) }