histogram.go: fix copy/paste typo
This method calls NewConstHistogram. Signed-off-by: Mark Hansen <mark@markhansen.co.nz>
This commit is contained in:
parent
b05e50c929
commit
7687ac2137
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue