From 7687ac213756cfe1b1849e1334f8cfb2ce15e039 Mon Sep 17 00:00:00 2001 From: Mark Hansen Date: Sun, 21 Jun 2020 13:45:59 +1000 Subject: [PATCH] histogram.go: fix copy/paste typo This method calls NewConstHistogram. Signed-off-by: Mark Hansen --- prometheus/histogram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/histogram.go b/prometheus/histogram.go index 3a5aac7..d4ea301 100644 --- a/prometheus/histogram.go +++ b/prometheus/histogram.go @@ -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,