mirror of https://github.com/k3s-io/k3s
Fix deprecation message
Signed-off-by: Derek Nola <derek.nola@suse.com>pull/6112/head
parent
1d42f46cda
commit
1d46841d80
|
@ -348,7 +348,7 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont
|
|||
|
||||
serverConfig.ControlConfig.Skips = map[string]bool{}
|
||||
if noDeploy := app.StringSlice("no-deploy"); len(noDeploy) > 0 {
|
||||
logrus.Fatal("no-deploy flag is deprecated. Use --skip-deploy instead.")
|
||||
logrus.Fatal("no-deploy flag is deprecated. Use --disable instead.")
|
||||
}
|
||||
serverConfig.ControlConfig.Disables = map[string]bool{}
|
||||
for _, disable := range app.StringSlice("disable") {
|
||||
|
|
Loading…
Reference in New Issue