Skip to content

Commit 469ba41

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fix image save with API v2"
2 parents d26650b + c830d96 commit 469ba41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎openstackclient/image/v2/image.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def take_action(self, parsed_args):
219219
image_client.images,
220220
parsed_args.image,
221221
)
222-
data = image_client.images.data(image)
222+
data = image_client.images.data(image.id)
223223

224224
gc_utils.save_image(data, parsed_args.file)
225225

0 commit comments

Comments
 (0)