From 393b4ca4952eb4afe53bf2ae4d76134c6e7f028f Mon Sep 17 00:00:00 2001 From: royeo Date: Thu, 6 May 2021 16:07:17 +0800 Subject: [PATCH] Fix comment Signed-off-by: royeo --- pkg/registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/registry.go b/pkg/registry/registry.go index d5c813d..80edeec 100644 --- a/pkg/registry/registry.go +++ b/pkg/registry/registry.go @@ -362,7 +362,7 @@ func (r *Registry) RemoveStaleMetrics() { } } -// Calculates a hash of both the label names and the label names and values. +// Calculates a hash of both the label names and values. func (r *Registry) HashLabels(labels prometheus.Labels) (metrics.LabelHash, []string) { r.Hasher.Reset() r.NameBuf.Reset()