Skip to content

Commit

Permalink
Merge pull request #376 from royeo/master
Browse files Browse the repository at this point in the history
Fix comment
  • Loading branch information
matthiasr authored May 6, 2021
2 parents ea25c7a + 393b4ca commit cd27e25
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 cd27e25

Please sign in to comment.