diff --git a/.golangci.yml b/.golangci.yml index f81b29ed2..026d68a31 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -29,6 +29,7 @@ linters: - unused - usestdlibvars - whitespace + - loggercheck issues: max-same-issues: 0 diff --git a/util/treecache/treecache.go b/util/treecache/treecache.go index 06356bb0b..bbbaaf3d6 100644 --- a/util/treecache/treecache.go +++ b/util/treecache/treecache.go @@ -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: