mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
test/e2e: simplify, remove unnecessary check
Make golangci-lint happy.
This commit is contained in:
parent
bf640d4c4d
commit
91d6793787
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ func IsValidNodeTopology(nodeTopology *v1alpha2.NodeResourceTopology, kubeletCon
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if nodeTopology.Zones == nil || len(nodeTopology.Zones) == 0 {
|
if len(nodeTopology.Zones) == 0 {
|
||||||
framework.Logf("failed to get topology zones from the node topology resource")
|
framework.Logf("failed to get topology zones from the node topology resource")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue