mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 20:56:42 +00:00
test/e2e: fix e2e-config node matching
Pick the correct rule when multiple node rules are present.
This commit is contained in:
parent
9b8451209c
commit
0512b06027
1 changed files with 1 additions and 0 deletions
|
@ -535,6 +535,7 @@ var _ = framework.KubeDescribe("[NFD] Node Feature Discovery", func() {
|
|||
if conf.nameRe.MatchString(node.Name) {
|
||||
e2elog.Logf("node %q matches rule %q", node.Name, conf.nameRe)
|
||||
nodeConf = &conf
|
||||
break
|
||||
}
|
||||
}
|
||||
if nodeConf == nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue