Skip to content

Commit

Permalink
Merge pull request #7567 from manuelbuil/master
Browse files Browse the repository at this point in the history
Add '-all' flag to apply to inactive systemd units
  • Loading branch information
manuelbuil authored May 17, 2023
2 parents 2b24c99 + 290f67c commit cdcd4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/testutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ func ParsePods(kubeConfig string, print bool) ([]Pod, error) {
// RestartCluster restarts the k3s service on each node given
func RestartCluster(nodeNames []string) error {
for _, nodeName := range nodeNames {
cmd := "sudo systemctl restart k3s*"
cmd := "sudo systemctl restart k3s* --all"
if _, err := RunCmdOnNode(cmd, nodeName); err != nil {
return err
}
Expand Down

0 comments on commit cdcd4a9

Please sign in to comment.