mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 06:47:28 -08:00
Add case-statement for OR, which still needs to be implemented.
This commit is contained in:
parent
a555ded2b3
commit
6929c10acf
|
@ -450,6 +450,8 @@ func evalVectorBinop(opType BinOpType,
|
||||||
}
|
}
|
||||||
case AND:
|
case AND:
|
||||||
return lhs, true
|
return lhs, true
|
||||||
|
case OR:
|
||||||
|
return lhs, true // TODO: implement OR
|
||||||
}
|
}
|
||||||
panic("Not all enum values enumerated in switch")
|
panic("Not all enum values enumerated in switch")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue