Skip to content

Commit

Permalink
test/e2e: simplify, remove unnecessary check
Browse files Browse the repository at this point in the history
Make golangci-lint happy.
  • Loading branch information
marquiz committed Aug 30, 2024
1 parent bf640d4 commit 91d6793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/utils/noderesourcetopology.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 91d6793

Please sign in to comment.