Fix image pull action

For now pull image action doesn't work due to server error.
The following patch adds second return value into
_cleanup_params function, but the patch forgot to add the second
return value for _cleanup_params in image_create function.
https://review.openstack.org/#/c/474101/
This patch fixes it.

Change-Id: I5f2dca94821fa8c427e2804626f8b7f4a9fdcbb3
Closes-Bug: #1700479
This commit is contained in:
Shu Muto 2017-06-26 17:52:40 +09:00
parent bab87425d3
commit 051a02a67b

View File

@ -192,5 +192,5 @@ def image_list(request, limit=None, marker=None, sort_key=None,
def image_create(request, **kwargs):
args = _cleanup_params(IMAGE_PULL_ATTRS, True, **kwargs)
args, run = _cleanup_params(IMAGE_PULL_ATTRS, True, **kwargs)
return zunclient(request).images.create(**args)