From 6dbb4e1a94f75a057720bf0dd101897283465c8e Mon Sep 17 00:00:00 2001 From: Charles Korn Date: Fri, 20 Sep 2024 11:49:54 +1000 Subject: [PATCH] Fix linting issues Signed-off-by: Charles Korn --- model/histogram/float_histogram.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model/histogram/float_histogram.go b/model/histogram/float_histogram.go index 1777afdbf1..300f3176e4 100644 --- a/model/histogram/float_histogram.go +++ b/model/histogram/float_histogram.go @@ -234,11 +234,11 @@ func (h *FloatHistogram) TestExpression() string { case UnknownCounterReset: // Unknown is the default, don't add anything. case CounterReset: - res = append(res, fmt.Sprintf("counter_reset_hint:reset")) + res = append(res, "counter_reset_hint:reset") case NotCounterReset: - res = append(res, fmt.Sprintf("counter_reset_hint:not_reset")) + res = append(res, "counter_reset_hint:not_reset") case GaugeType: - res = append(res, fmt.Sprintf("counter_reset_hint:gauge")) + res = append(res, "counter_reset_hint:gauge") } addBuckets := func(kind, bucketsKey, offsetKey string, buckets []float64, spans []Span) []string {