Skip to content

Commit d038ab9

Browse files
authored
chore: fix function name in comment (#1497)
Signed-off-by: oftenoccur <[email protected]>
1 parent 6b857f1 commit d038ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/vec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ func (m *metricMap) getOrCreateMetricWithLabelValues(
507507
return metric
508508
}
509509

510-
// getOrCreateMetricWithLabelValues retrieves the metric by hash and label value
510+
// getOrCreateMetricWithLabels retrieves the metric by hash and label value
511511
// or creates it and returns the new one.
512512
//
513513
// This function holds the mutex.

0 commit comments

Comments
 (0)