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:
jiangpch 2017-08-07 02:40:24 -04:00
parent 3056b26a54
commit a33e2c4359
1 changed files with 1 additions and 1 deletions

View File

@ -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,