Skip to content

Commit

Permalink
fix parallel node target
Browse files Browse the repository at this point in the history
  • Loading branch information
topahadzi committed Dec 1, 2023
1 parent ac64c11 commit a411b36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chaoslib/litmus/vira/node-restart/lib/node-restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ func restartNode(targetNodeList []string, experimentsDetails *experimentTypes.Ex
return err
}

common.SetTargets(appNode, "injected", "node", chaosDetails)

}

for _, appNode := range targetNodeList {
common.SetTargets(appNode, "injected", "node", chaosDetails)
}

}
return nil
Expand Down

0 comments on commit a411b36

Please sign in to comment.