mirror of
https://github.com/k3s-io/k3s.git
synced 2026-05-28 04:34:19 -04:00
Fix deprecation message
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
1d42f46cda
commit
1d46841d80
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue