diff options
| author | Terry Howe <terrylhowe@gmail.com> | 2014-01-21 10:45:52 -0700 |
|---|---|---|
| committer | Terry Howe <terrylhowe@gmail.com> | 2014-02-07 13:43:02 -0700 |
| commit | ecc4fb330dea487b7ac86050eb971d97cea895d6 (patch) | |
| tree | 7290f00794231d25a328b880b05aebd58a2769e4 /openstackclient/image/client.py | |
| parent | 81d33a524dd53f233bf72ea1eae4bea1058ceeaf (diff) | |
| download | python-openstackclient-ecc4fb330dea487b7ac86050eb971d97cea895d6.tar.gz | |
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
Diffstat (limited to 'openstackclient/image/client.py')
| -rw-r--r-- | openstackclient/image/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/client.py b/openstackclient/image/client.py index 9edffded..ba48a0e9 100644 --- a/openstackclient/image/client.py +++ b/openstackclient/image/client.py @@ -73,7 +73,7 @@ class Client_v1(gc_v1_client.Client): def __init__(self, *args, **kwargs): super(Client_v1, self).__init__(*args, **kwargs) - self.images = ImageManager_v1(self) + self.images = ImageManager_v1(getattr(self, 'http_client', self)) class ImageManager_v1(gc_v1_images.ImageManager): |
