mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 15:31:03 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue