Merge "Fix image save with API v2"

This commit is contained in:
Jenkins 2015-07-19 23:41:17 +00:00 committed by Gerrit Code Review
commit 469ba41b51

View File

@ -219,7 +219,7 @@ class SaveImage(command.Command):
image_client.images,
parsed_args.image,
)
data = image_client.images.data(image)
data = image_client.images.data(image.id)
gc_utils.save_image(data, parsed_args.file)