Skip to content

Commit

Permalink
testing5
Browse files Browse the repository at this point in the history
  • Loading branch information
an1l4 committed Aug 21, 2023
1 parent 8349537 commit 4fb3af0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions agent/kubviz/k8smetrics_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ func main() {
//close(getAllResourceChan)
// close(clusterMetricsChan)
//close(kubescoreMetricsChan)
close(trivySbomcanChan)
close(trivyImagescanChan)
close(trivyK8sMetricsChan)
defer close(trivySbomcanChan)
defer close(trivyImagescanChan)
defer close(trivyK8sMetricsChan)
//close(RakeesErrChan)
// Signal that all other goroutines have finished
doneChan <- true
close(doneChan)
defer close(doneChan)
}
collectAndPublishMetrics()
if schedulingIntervalStr == "" {
Expand Down

0 comments on commit 4fb3af0

Please sign in to comment.