Skip to content

Commit 7687ac2

Browse files
committed
histogram.go: fix copy/paste typo
This method calls NewConstHistogram. Signed-off-by: Mark Hansen <[email protected]>
1 parent b05e50c commit 7687ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/histogram.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ func NewConstHistogram(
607607
}
608608

609609
// MustNewConstHistogram is a version of NewConstHistogram that panics where
610-
// NewConstMetric would have returned an error.
610+
// NewConstHistogram would have returned an error.
611611
func MustNewConstHistogram(
612612
desc *Desc,
613613
count uint64,

0 commit comments

Comments
 (0)