mirror of https://github.com/k3s-io/k3s
commit
dcfabc6978
|
@ -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