mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -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:
|
||||
return lhs, true
|
||||
case OR:
|
||||
return lhs, true // TODO: implement OR
|
||||
}
|
||||
panic("Not all enum values enumerated in switch")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue