From 0dc0c2165f0699c1bb34fb8d2fc55bc10c58331e Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Thu, 17 Oct 2019 19:55:03 -0700 Subject: [PATCH] Remove old reference to basicMetricVec Contrary to the code comment, I see no `basicMetricVec` implementation. Grep'ing this project shows this is the only reference. So I suspect it's an outdated comment and can be removed to minimize confusion. I'm unclear whether other parts of that comment are also incorrect and need updating. Signed-off-by: Jeff Widman --- prometheus/vec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/vec.go b/prometheus/vec.go index 14ed9e8..19df3fe 100644 --- a/prometheus/vec.go +++ b/prometheus/vec.go @@ -24,7 +24,7 @@ import ( // their label values. metricVec is not used directly (and therefore // unexported). It is used as a building block for implementations of vectors of // a given metric type, like GaugeVec, CounterVec, SummaryVec, and HistogramVec. -// It also handles label currying. It uses basicMetricVec internally. +// It also handles label currying. type metricVec struct { *metricMap