From 9fa235db024b05a59db973bf946f15535d415615 Mon Sep 17 00:00:00 2001 From: wangbo Date: Thu, 12 Jan 2017 18:20:33 +0800 Subject: [PATCH] Pass 'api_version' to create HTTPClient The bug introduced with following patch:- https://review.openstack.org/#/c/357629/ Change-Id: I6362cf8b750112c3d7a1fe043d61c8ceec124e50 Closes-Bug: #1655912 --- magnumclient/common/httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnumclient/common/httpclient.py b/magnumclient/common/httpclient.py index 54c06d74..61ddb7af 100644 --- a/magnumclient/common/httpclient.py +++ b/magnumclient/common/httpclient.py @@ -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