mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/promscrape/discovery/kubernetes: typo fix after 241ffd1f3b
This commit is contained in:
parent
82441537ff
commit
e77f2f8630
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ func (uw *urlWatcher) reloadObjects() string {
|
|||
}
|
||||
labelsByKey := make(map[string][]map[string]string, len(objectsByKey))
|
||||
for k, o := range objectsByKey {
|
||||
labelsByKey[k] = o.getTargetLabels(uw)
|
||||
labelsByKey[k] = o.getTargetLabels(uw.aw)
|
||||
}
|
||||
uw.mu.Lock()
|
||||
uw.objectsByKey = objectsByKey
|
||||
|
|
Loading…
Reference in a new issue