Browse Source

Merge pull request #7567 from manuelbuil/master

Add '-all' flag to apply to inactive systemd units
pull/7575/head
Manuel Buil 2 years ago committed by GitHub
parent
commit
cdcd4a9000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/e2e/testutils.go

2
tests/e2e/testutils.go

@ -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
}

Loading…
Cancel
Save