Skip to content

Commit

Permalink
chore: fix function name in comment (#1497)
Browse files Browse the repository at this point in the history
Signed-off-by: oftenoccur <ezc5@sina.com>
  • Loading branch information
oftenoccur authored Apr 11, 2024
1 parent 6b857f1 commit d038ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/vec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d038ab9

Please sign in to comment.