Pass 'api_version' to create HTTPClient

The bug introduced with following patch:-
https://review.openstack.org/#/c/357629/

Change-Id: I6362cf8b750112c3d7a1fe043d61c8ceec124e50
Closes-Bug: #1655912
This commit is contained in:
wangbo 2017-01-12 18:20:33 +08:00 committed by yatin
parent afa2281424
commit 9fa235db02
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class HTTPClient(object):
self.endpoint = endpoint
self.auth_token = kwargs.get('token')
self.auth_ref = kwargs.get('auth_ref')
self.api_version = kwargs.get('api_version')
self.api_version = api_version
self.connection_params = self.get_connection_params(endpoint, **kwargs)
@staticmethod