mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +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
|
||||
}
|
||||
|
||||
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")
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue