diff --git a/agent/kubviz/k8smetrics_agent.go b/agent/kubviz/k8smetrics_agent.go index cffd5193..d5f1865e 100644 --- a/agent/kubviz/k8smetrics_agent.go +++ b/agent/kubviz/k8smetrics_agent.go @@ -151,7 +151,7 @@ func main() { } } }() - wg.Add(9) // Initialize the WaitGroup for the seven goroutines + wg.Add(8) // Initialize the WaitGroup for the seven goroutines // ... start other goroutines ... go outDatedImages(config, js, &wg, outdatedErrChan) go KubePreUpgradeDetector(config, js, &wg, kubePreUpgradeChan)