diff --git a/client/metrics/metrics.go b/client/metrics/metrics.go index 2ced64c2d48..da7637b19be 100644 --- a/client/metrics/metrics.go +++ b/client/metrics/metrics.go @@ -35,7 +35,7 @@ var consumersInitializers = struct { value []func() }{} -// RegisterConsumer registers a consumer to be initialized when the metrics are (re)initialized. +// RegisterConsumer registers a consumer to be initialized when the metrics are (re)initialized func RegisterConsumer(initConsumer func()) { consumersInitializers.Lock() defer consumersInitializers.Unlock()