Fix container deletion error
Change the argument `force` to a keyword argument as the delete method of zunclient's container doesn't accept a `force` argument. Closes-Bug: #1709009 Change-Id: I98283c93aef0ce9bda8395f9db9fdbc0b3664dbc
This commit is contained in:
parent
3056b26a54
commit
a33e2c4359
@ -131,7 +131,7 @@ def container_update(request, id, **kwargs):
|
||||
|
||||
def container_delete(request, id, force=False):
|
||||
# TODO(shu-mutou): force option should be provided by user.
|
||||
return zunclient(request).containers.delete(id, force)
|
||||
return zunclient(request).containers.delete(id, force=force)
|
||||
|
||||
|
||||
def container_list(request, limit=None, marker=None, sort_key=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user