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
This commit is contained in:
parent
7d8db71964
commit
b9807c0648
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user