From d028eac9de8c0b1c0eb09189548a78d75d1c0624 Mon Sep 17 00:00:00 2001 From: topahadzi Date: Fri, 1 Dec 2023 16:55:18 +0700 Subject: [PATCH] add parallel reboot all node in same zone --- chaoslib/litmus/vira/node-restart/lib/node-restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaoslib/litmus/vira/node-restart/lib/node-restart.go b/chaoslib/litmus/vira/node-restart/lib/node-restart.go index ee40ea9..b892265 100644 --- a/chaoslib/litmus/vira/node-restart/lib/node-restart.go +++ b/chaoslib/litmus/vira/node-restart/lib/node-restart.go @@ -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 }