mirror of https://github.com/docker/docker-py.git
Detail which exception is thrown by remove_volume
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
acd5e634ff
commit
ea9e13ff2b
|
@ -741,7 +741,8 @@ Remove a volume. Similar to the `docker volume rm` command.
|
|||
|
||||
* name (str): The volume's name
|
||||
|
||||
**Returns** (bool): True on successful removal. Failure will raise an exception.
|
||||
**Returns** (bool): True on successful removal. Failure will raise a
|
||||
`docker.errors.APIError` exception.
|
||||
|
||||
## rename
|
||||
|
||||
|
|
Loading…
Reference in New Issue