From 030dedf9e8beb89784ab112977716f9b96073195 Mon Sep 17 00:00:00 2001 From: scottda <scott.dangelo@hpe.com> Date: Tue, 10 May 2016 14:31:00 -0600 Subject: [PATCH] Change api_version to self.api_version Call to _construct_http_client uses: api_version=api_version but should be: api_version=self.api_version Change-Id: If2686461bff1ef9afd318e999c9e517e15b1677f Closes-Bug: 1580319 --- cinderclient/v2/client.py | 2 +- cinderclient/v3/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cinderclient/v2/client.py b/cinderclient/v2/client.py index fea18ad4e..49b965141 100644 --- a/cinderclient/v2/client.py +++ b/cinderclient/v2/client.py @@ -115,7 +115,7 @@ class Client(object): auth_system=auth_system, auth_plugin=auth_plugin, session=session, - api_version=api_version, + api_version=self.api_version, **kwargs) def authenticate(self): diff --git a/cinderclient/v3/client.py b/cinderclient/v3/client.py index 18adb3cad..ae10ebc0f 100644 --- a/cinderclient/v3/client.py +++ b/cinderclient/v3/client.py @@ -115,7 +115,7 @@ class Client(object): auth_system=auth_system, auth_plugin=auth_plugin, session=session, - api_version=api_version, + api_version=self.api_version, **kwargs) def authenticate(self):