Merge pull request #25719 from eskaaren/master

You can force leave swarm
Upstream-commit: daf454d8cd6146ef2cb644614301806ef59c58cc
Component: engine
This commit is contained in:
Vincent Demeester
2016-08-22 09:15:37 +02:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
@@ -4268,6 +4268,10 @@ Leave a swarm
Content-Length: 0
Content-Type: text/plain; charset=utf-8
**Query parameters**:
- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
**Status codes**:
- **200** no error
@@ -4298,6 +4298,10 @@ Leave a swarm
Content-Length: 0
Content-Type: text/plain; charset=utf-8
**Query parameters**:
- **force** - Boolean (0/1, false/true). Force leave swarm, even if this is the last manager or that it will break the cluster.
**Status codes**:
- **200** no error