Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: royeo <[email protected]>
  • Loading branch information
royeo committed May 6, 2021
1 parent ea25c7a commit 393b4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 393b4ca

Please sign in to comment.