diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-07-25 01:16:01 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-07-25 01:16:01 -0400 |
| commit | 6e1fa8b27df4f0697f3f44f710469792358e6c50 (patch) | |
| tree | 924db6baf38193fbf72adaf2448e60344f7d9867 /openstackclient/image | |
| parent | 4d3d287dd7e3032c8da2482f28f27dd766c66a23 (diff) | |
| download | python-openstackclient-6e1fa8b27df4f0697f3f44f710469792358e6c50.tar.gz | |
Change V2 image tests to actually run V2 image code
The current tests for image do not run v2 image code, changing
that portion also made it's only test fail.
I opted to change the image delete code and not the test, since
passing the object ID is more in line with the rest of the
project code.
Change-Id: I62e13c063a5d68279dbbf31e59266db6285d73bf
Diffstat (limited to 'openstackclient/image')
| -rw-r--r-- | openstackclient/image/v2/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py index 08897b2b..67cb16b6 100644 --- a/openstackclient/image/v2/image.py +++ b/openstackclient/image/v2/image.py @@ -48,7 +48,7 @@ class DeleteImage(command.Command): image_client.images, parsed_args.image, ) - image_client.images.delete(image) + image_client.images.delete(image.id) class ListImage(lister.Lister): |
