histogram.go: fix copy/paste typo

This method calls NewConstHistogram.

Signed-off-by: Mark Hansen <mark@markhansen.co.nz>
This commit is contained in:
Mark Hansen 2020-06-21 13:45:59 +10:00
parent b05e50c929
commit 7687ac2137
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ func NewConstHistogram(
} }
// MustNewConstHistogram is a version of NewConstHistogram that panics where // MustNewConstHistogram is a version of NewConstHistogram that panics where
// NewConstMetric would have returned an error. // NewConstHistogram would have returned an error.
func MustNewConstHistogram( func MustNewConstHistogram(
desc *Desc, desc *Desc,
count uint64, count uint64,