mirror of https://github.com/prometheus/prometheus
Make linter happy
Signed-off-by: Charles Korn <charles.korn@grafana.com>pull/14611/head
parent
f07b3ae67b
commit
0f4bc87b4f
|
@ -3000,11 +3000,12 @@ func (ev *evaluator) aggregation(e *parser.AggregateExpr, q float64, inputMatrix
|
|||
annos.Add(annotations.NewMixedFloatsHistogramsAggWarning(e.Expr.PositionRange()))
|
||||
continue
|
||||
}
|
||||
if aggr.abandonHistogram {
|
||||
switch {
|
||||
case aggr.abandonHistogram:
|
||||
continue
|
||||
} else if aggr.hasHistogram {
|
||||
case aggr.hasHistogram:
|
||||
aggr.histogramValue.Compact(0)
|
||||
} else {
|
||||
default:
|
||||
aggr.floatValue += aggr.floatKahanC
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue