mirror of
https://github.com/prometheus/prometheus
synced 2026-05-01 07:30:30 +08:00
golangci-lint: Enable loggercheck linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -200,7 +200,7 @@ func (tc *ZookeeperTreeCache) loop(path string) {
|
||||
failure()
|
||||
} else {
|
||||
tc.resyncState(tc.prefix, tc.head, previousState)
|
||||
level.Info(tc.logger).Log("Zookeeper resync successful")
|
||||
level.Info(tc.logger).Log("msg", "Zookeeper resync successful")
|
||||
failureMode = false
|
||||
}
|
||||
case <-tc.stop:
|
||||
|
||||
Reference in New Issue
Block a user