mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Remove parenthesis
Signed-off-by: Levi Harrison <git@leviharrison.dev>
This commit is contained in:
parent
6faca22eec
commit
4ac4e2ca4b
|
@ -633,7 +633,7 @@ func funcAtanh(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper
|
||||||
// === rad(Vector parser.ValueTypeVector) Vector ===
|
// === rad(Vector parser.ValueTypeVector) Vector ===
|
||||||
func funcRad(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper) Vector {
|
func funcRad(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper) Vector {
|
||||||
return simpleFunc(vals, enh, func(v float64) float64 {
|
return simpleFunc(vals, enh, func(v float64) float64 {
|
||||||
return v * (math.Pi / 180)
|
return v * math.Pi / 180
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue