change --disable-apiserver flag

Signed-off-by: MonzElmasry <menna.elmasry@rancher.com>
This commit is contained in:
MonzElmasry 2021-05-12 23:54:15 +02:00
parent 0d05b14b71
commit 24474c5734
No known key found for this signature in database
GPG Key ID: C22EA9B1FF03F73E

View File

@ -340,7 +340,7 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command {
Destination: &ServerConfig.DisableNPC,
},
cli.BoolFlag{
Name: "disable-api-server",
Name: "disable-apiserver",
Hidden: true,
Usage: "(experimental/components) Disable running api server",
Destination: &ServerConfig.DisableAPIServer,