1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00

Remove MatchVersionRange operator

Signed-off-by: Marcin Franczyk <marcin0franczyk@gmail.com>
This commit is contained in:
Marcin Franczyk 2025-03-28 10:08:25 +01:00
parent f7a9da693d
commit 27566b3e69
2 changed files with 0 additions and 4 deletions

View file

@ -388,9 +388,6 @@ const (
// MatchIsFalse returns true if the input holds the value "false". The
// expression must not have any values.
MatchIsFalse MatchOp = "IsFalse"
// MatchVersionRange returns true if the input is version that falls into the
// specified version range. Both the input and value must be semantic versions.
MatchVersionRange MatchOp = "VersionRange"
)
const (

View file

@ -53,7 +53,6 @@ var matchOps = map[nfdv1alpha1.MatchOp]struct{}{
nfdv1alpha1.MatchGeLe: {},
nfdv1alpha1.MatchIsTrue: {},
nfdv1alpha1.MatchIsFalse: {},
nfdv1alpha1.MatchVersionRange: {},
}
// evaluateMatchExpression evaluates the MatchExpression against a single input value.