mirror of https://github.com/docker/cli.git
node rm can be applied on not only active node
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
81e6e5e36d
commit
503053819e
|
@ -29,7 +29,7 @@ func newRemoveCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
flags := cmd.Flags()
|
flags := cmd.Flags()
|
||||||
flags.BoolVar(&opts.force, "force", false, "Force remove an active node")
|
flags.BoolVar(&opts.force, "force", false, "Force remove a node from the swarm")
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue