Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Mar 25, 2024
1 parent 74b6de5 commit 2eb36a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/kubviz/k8smetrics_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 2eb36a6

Please sign in to comment.