Merge pull request #376 from royeo/master

Fix comment
This commit is contained in:
Matthias Rampke 2021-05-06 11:51:57 +02:00 committed by GitHub
commit cd27e25711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()