Skip to content

Commit

Permalink
Set resourceMetaWatcher as started
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKatsoulis committed Feb 22, 2024
1 parent d41e837 commit 8fcdfc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/module/kubernetes/util/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,7 @@ func (e *enricher) Start(resourceWatchers *Watchers) {
} else {
resourceMetaWatcher.watcher = resourceMetaWatcher.restartWatcher
resourceMetaWatcher.restartWatcher = nil
resourceMetaWatcher.started = true
}
} else {
if !resourceMetaWatcher.started {
Expand Down

0 comments on commit 8fcdfc2

Please sign in to comment.