Skip to content

Commit ecc4fb3

Browse files
committed
Glance client no longer isa http client
If the client has-a http_client, then is must not be an is-a. This has been tested with the current version of glanceclient and the master branch. Closes-Bug: #1269821 Change-Id: I14d67eb094bfb4c2dbc07106343488298b6a9409
1 parent 81d33a5 commit ecc4fb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎openstackclient/image/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Client_v1(gc_v1_client.Client):
7373

7474
def __init__(self, *args, **kwargs):
7575
super(Client_v1, self).__init__(*args, **kwargs)
76-
self.images = ImageManager_v1(self)
76+
self.images = ImageManager_v1(getattr(self, 'http_client', self))
7777

7878

7979
class ImageManager_v1(gc_v1_images.ImageManager):

0 commit comments

Comments
 (0)