mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #29166 from allencloud/add-403-for-network-create-endpoint
add 403 for endpoint network create
This commit is contained in:
commit
f687eb576f
2 changed files with 5 additions and 0 deletions
|
@ -6130,6 +6130,10 @@ paths:
|
|||
example:
|
||||
Id: "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30"
|
||||
Warning: ""
|
||||
403:
|
||||
description: "operation not supported for pre-defined networks"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "plugin not found"
|
||||
schema:
|
||||
|
|
|
@ -3319,6 +3319,7 @@ Content-Type: application/json
|
|||
**Status codes**:
|
||||
|
||||
- **201** - no error
|
||||
- **403** - operation not supported for pre-defined networks
|
||||
- **404** - plugin not found
|
||||
- **500** - server error
|
||||
|
||||
|
|
Loading…
Reference in a new issue