Skip to content

Commit

Permalink
add parallel reboot all node in same zone
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Dec 1, 2023
1 parent 5944ca1 commit d028eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaoslib/litmus/vira/node-restart/lib/node-restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func restartNode(experimentsDetails *experimentTypes.ExperimentDetails, clients
// stopping the chaos execution, if abort signal received
os.Exit(0)
default:
targetNodeList, err := common.GetTargetPods(experimentsDetails.NodeLabel, clients)
targetNodeList, err := common.getNodesByLabels(experimentsDetails.NodeLabel, clients)
if err != nil {
return err
}
Expand Down

0 comments on commit d028eac

Please sign in to comment.