Skip to content

Commit

Permalink
histogram.go: fix copy/paste typo
Browse files Browse the repository at this point in the history
This method calls NewConstHistogram.

Signed-off-by: Mark Hansen <mark@markhansen.co.nz>
  • Loading branch information
mhansen committed Jun 21, 2020
1 parent b05e50c commit 7687ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/histogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ func NewConstHistogram(
}

// MustNewConstHistogram is a version of NewConstHistogram that panics where
// NewConstMetric would have returned an error.
// NewConstHistogram would have returned an error.
func MustNewConstHistogram(
desc *Desc,
count uint64,
Expand Down

0 comments on commit 7687ac2

Please sign in to comment.