mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
lib/promscrape/discovery/kubernetes: remove debug lines left after the commit 133b288681
This commit is contained in:
parent
ca4d5ce037
commit
def014eb75
1 changed files with 0 additions and 2 deletions
|
@ -207,11 +207,9 @@ func getURLWatcher(role, apiURL string, proxyURL *url.URL, ac *promauth.Config)
|
|||
key := fmt.Sprintf("url=%s, proxyURL=%v, authConfig=%s", apiURL, proxyURL, ac.String())
|
||||
urlWatchersLock.Lock()
|
||||
uw := urlWatchers[key]
|
||||
logger.Infof("found watcher for key=%s", key)
|
||||
if uw == nil {
|
||||
uw = newURLWatcher(role, apiURL, proxyURL, ac)
|
||||
urlWatchers[key] = uw
|
||||
logger.Infof("registered watcher for key=%s", key)
|
||||
}
|
||||
urlWatchersLock.Unlock()
|
||||
return uw
|
||||
|
|
Loading…
Reference in a new issue