Fix image save with API v2
Glanceclient v2 no longer expects the whole image object, just the image id. Change-Id: I8f34acfa50ca2d50eb7c9eb1dd5114c4621ad158 Closes-bug: #1475001
This commit is contained in:
parent
1af89f757c
commit
c830d96e4f
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user