1
0
Fork 0
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:
Markus Lehtonen 2024-08-30 16:42:45 +03:00
parent bf640d4c4d
commit 91d6793787

View file

@ -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
}