mirror of
https://github.com/docker/cli.git
synced 2026-09-25 17:02:07 -04:00
add status code 404 for plugin api endpoint enable and disable
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 75f73058888347261edc4668c9d65f9ca161338d Component: engine
This commit is contained in:
@@ -3800,6 +3800,7 @@ Content-Type: text/plain; charset=utf-8
|
||||
**Status codes**:
|
||||
|
||||
- **200** - no error
|
||||
- **404** - plugin not installed
|
||||
- **500** - plugin is already enabled
|
||||
|
||||
#### Disable a plugin
|
||||
@@ -3828,6 +3829,7 @@ Content-Type: text/plain; charset=utf-8
|
||||
**Status codes**:
|
||||
|
||||
- **200** - no error
|
||||
- **404** - plugin not installed
|
||||
- **500** - plugin is already disabled
|
||||
|
||||
#### Remove a plugin
|
||||
|
||||
Reference in New Issue
Block a user