mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add 403 for endpoint network create
Signed-off-by: allencloud <allen.sun@daocloud.io>
(cherry picked from commit 0d21e24b9f
)
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
ad794bba5b
commit
51b83ae8fb
2 changed files with 5 additions and 0 deletions
|
@ -6133,6 +6133,10 @@ paths:
|
||||||
example:
|
example:
|
||||||
Id: "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30"
|
Id: "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30"
|
||||||
Warning: ""
|
Warning: ""
|
||||||
|
403:
|
||||||
|
description: "operation not supported for pre-defined networks"
|
||||||
|
schema:
|
||||||
|
$ref: "#/definitions/ErrorResponse"
|
||||||
404:
|
404:
|
||||||
description: "plugin not found"
|
description: "plugin not found"
|
||||||
schema:
|
schema:
|
||||||
|
|
|
@ -3320,6 +3320,7 @@ Content-Type: application/json
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
- **201** - no error
|
- **201** - no error
|
||||||
|
- **403** - operation not supported for pre-defined networks
|
||||||
- **404** - plugin not found
|
- **404** - plugin not found
|
||||||
- **500** - server error
|
- **500** - server error
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue