From 051a02a67b6ff6ce2d82de4e3d52c053336f01cd Mon Sep 17 00:00:00 2001 From: Shu Muto Date: Mon, 26 Jun 2017 17:52:40 +0900 Subject: [PATCH] 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 --- zun_ui/api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zun_ui/api/client.py b/zun_ui/api/client.py index 5614b51..ad8eefa 100644 --- a/zun_ui/api/client.py +++ b/zun_ui/api/client.py @@ -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)