Merge pull request #29482 from thaJeztah/not-for-workers-only
swarm leave is not only for workers
This commit is contained in:
commit
87e8828dff
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ func newLeaveCommand(dockerCli *command.DockerCli) *cobra.Command {
|
|||
|
||||
cmd := &cobra.Command{
|
||||
Use: "leave [OPTIONS]",
|
||||
Short: "Leave the swarm (workers only)",
|
||||
Short: "Leave the swarm",
|
||||
Args: cli.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runLeave(dockerCli, opts)
|
||||
|
|
|
@ -18,7 +18,7 @@ keywords: "swarm, leave"
|
|||
```markdown
|
||||
Usage: docker swarm leave [OPTIONS]
|
||||
|
||||
Leave the swarm (workers only)
|
||||
Leave the swarm
|
||||
|
||||
Options:
|
||||
-f, --force Force this node to leave the swarm, ignoring warnings
|
||||
|
|
Loading…
Add table
Reference in a new issue