summaryrefslogtreecommitdiff
path: root/novaclient
diff options
context:
space:
mode:
authorAndrey Kurilin <akurilin@mirantis.com>2016-04-01 14:45:12 +0300
committerAndrey Kurilin <akurilin@mirantis.com>2016-04-01 19:25:44 +0300
commitb9807c06485a231cde5ec4df40883dbce53b6bd7 (patch)
treebc93424f98c8c4a11931d645c8460ebea8c6f351 /novaclient
parent7d8db71964922197443f85c74ac0e4510e3f58a0 (diff)
downloadpython-novaclient-b9807c06485a231cde5ec4df40883dbce53b6bd7.tar.gz
Switch to 2.1 default api_version in v2.Client
Direct initialization of versioned clients is restricted, but we tries to decrease the number of possible bugs and issues, so default value for api_version was added to v2.Client . Let's set it to 2.1, since 2.0 is too old API version. Change-Id: If127f858f7f670a090a57267f46a69ea4c056cce
Diffstat (limited to 'novaclient')
-rw-r--r--novaclient/v2/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/novaclient/v2/client.py b/novaclient/v2/client.py
index 56339a34..64a1458e 100644
--- a/novaclient/v2/client.py
+++ b/novaclient/v2/client.py
@@ -131,7 +131,7 @@ class Client(object):
self.limits = limits.LimitsManager(self)
self.servers = servers.ServerManager(self)
self.versions = versions.VersionManager(self)
- self.api_version = api_version or api_versions.APIVersion("2.0")
+ self.api_version = api_version or api_versions.APIVersion("2.1")
# extensions
self.agents = agents.AgentsManager(self)