mirror of
https://github.com/moby/moby.git
synced 2026-08-04 15:11:00 +00:00
Add new error to API docs
Commitcc493a52a4added a constraint to network connect/disconnect operations on "Swarm scoped" networks. This adds those errors to the API documentation. Also changes the error to lowercase for consistency. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commitb0089e4827) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
committed by
Tibor Vass
parent
14038215d3
commit
e9190e0764
@@ -3260,6 +3260,7 @@ Content-Type: application/json
|
||||
**Status codes**:
|
||||
|
||||
- **200** - no error
|
||||
- **403** - operation not supported for swarm scoped networks
|
||||
- **404** - network or container is not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
@@ -3292,6 +3293,7 @@ Content-Type: application/json
|
||||
**Status codes**:
|
||||
|
||||
- **200** - no error
|
||||
- **403** - operation not supported for swarm scoped networks
|
||||
- **404** - network or container not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user