Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed Mar 28, 2022
1 parent e0d5109 commit a458276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cluster/manager/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,10 +637,10 @@ func fixFailedChecks(host string, res *operator.CheckResult, t *task.Builder) (s
// in the sysctl check
// t.Sysctl(host, "vm.swappiness", "0")
t.Shell(host,
fmt.Sprintf("swapoff -a"),
"swapoff -a",
"", true,
)
msg = fmt.Sprint("will try to disable swap, please also check /etc/fstab manually")
msg = "will try to disable swap, please also check /etc/fstab manually"
default:
msg = fmt.Sprintf("%s, auto fixing not supported", res)
}
Expand Down

0 comments on commit a458276

Please sign in to comment.