Skip to content

Commit

Permalink
cluster: show message for impossible fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhkbp2 committed Jun 29, 2020
1 parent 71a28ef commit dd37618
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions components/cluster/command/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,15 +407,6 @@ func fixFailedChecks(ctx *task.Context, host string, res *operator.CheckResult,
),
true)
msg = fmt.Sprintf("will try to %s, reboot might be needed", color.HiBlueString("disable SELinux"))
case operator.CheckNameOSVer,
operator.CheckNameCPUThreads,
operator.CheckNameDisks,
operator.CheckNameEpoll,
operator.CheckNameMem,
operator.CheckNameCommand,
operator.CheckNameFio:
// don't show unsupported message for checks that are impossible to fix by us
return "", nil
default:
msg = fmt.Sprintf("%s, auto fixing not supported", res)
}
Expand Down

0 comments on commit dd37618

Please sign in to comment.