Fix linting issues

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2024-09-20 11:49:54 +10:00
parent 4da551578c
commit 6dbb4e1a94
No known key found for this signature in database

View file

@ -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 {