Browse Source

Remove parenthesis

Signed-off-by: Levi Harrison <git@leviharrison.dev>
pull/9239/head
Levi Harrison 3 years ago
parent
commit
4ac4e2ca4b
  1. 2
      promql/functions.go

2
promql/functions.go

@ -633,7 +633,7 @@ func funcAtanh(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper
// === rad(Vector parser.ValueTypeVector) Vector ===
func funcRad(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper) Vector {
return simpleFunc(vals, enh, func(v float64) float64 {
return v * (math.Pi / 180)
return v * math.Pi / 180
})
}

Loading…
Cancel
Save