Skip to content

Commit

Permalink
e2e tests, libnode: do now shadow the nodes pkg
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Aug 11, 2022
1 parent f67b5ca commit f6cd567
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/libnode/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ var SchedulableNode = ""
func CleanNodes() {
virtCli, err := kubecli.GetKubevirtClient()
util.PanicOnError(err)
nodes := GetAllSchedulableNodes(virtCli).Items

clusterDrainKey := GetNodeDrainKey()

for _, node := range nodes {
for _, node := range GetAllSchedulableNodes(virtCli).Items {

old, err := json.Marshal(node)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit f6cd567

Please sign in to comment.