chore: fix function name in comment (#1497)

Signed-off-by: oftenoccur <ezc5@sina.com>
This commit is contained in:
oftenoccur 2024-04-11 20:53:09 +08:00 committed by GitHub
parent 6b857f1b8d
commit d038ab96c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ func (m *metricMap) getOrCreateMetricWithLabelValues(
return metric
}
// getOrCreateMetricWithLabelValues retrieves the metric by hash and label value
// getOrCreateMetricWithLabels retrieves the metric by hash and label value
// or creates it and returns the new one.
//
// This function holds the mutex.