summaryrefslogtreecommitdiff
path: root/openstackclient/compute
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-28 17:06:13 +0000
committerGerrit Code Review <review@openstack.org>2016-09-28 17:06:13 +0000
commitace3603ae9732f52a46d88e690783026a14d4a5b (patch)
treeaa0250498f702bf2b761f2ea1ec2c30344fab419 /openstackclient/compute
parentd0ecb8981d233d7ab7dcf52ee8bb0ca4e2e79f17 (diff)
parentc9fd35a49675027eea430b72e1c1f756da093b21 (diff)
downloadpython-openstackclient-ace3603ae9732f52a46d88e690783026a14d4a5b.tar.gz
Merge "Update default nova api version to 2.1"
Diffstat (limited to 'openstackclient/compute')
-rw-r--r--openstackclient/compute/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index 4cc3be98..c5b364b2 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -23,11 +23,12 @@ from openstackclient.i18n import _
LOG = logging.getLogger(__name__)
-DEFAULT_API_VERSION = '2'
+DEFAULT_API_VERSION = '2.1'
API_VERSION_OPTION = 'os_compute_api_version'
API_NAME = 'compute'
API_VERSIONS = {
"2": "novaclient.client",
+ "2.1": "novaclient.client",
}
# Save the microversion if in use