summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2015-08-24 10:38:43 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2015-08-24 10:38:43 -0500
commitf14251669f96d6010581702417828f4380144aa2 (patch)
tree944a6e6e0353944479227da8cb1baeeca2ca6ce7 /openstackclient/volume
parent3751dbf1272bf20d82c55d61c2e20bcc0b29c983 (diff)
downloadpython-openstackclient-f14251669f96d6010581702417828f4380144aa2.tar.gz
default OS_VOLUME_API_VERSION to v2
Cinder is trying to deprecate/remove support for v1, so we should, as a client library default to v2 and keep support for v1. Related-Bug: 1467589 Change-Id: I732448a57fc3fd06a8d82ec0f0d2ace671036ca2
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/volume/client.py b/openstackclient/volume/client.py
index d4800b8d..0973868b 100644
--- a/openstackclient/volume/client.py
+++ b/openstackclient/volume/client.py
@@ -19,7 +19,7 @@ from openstackclient.common import utils
LOG = logging.getLogger(__name__)
-DEFAULT_API_VERSION = '1'
+DEFAULT_API_VERSION = '2'
API_VERSION_OPTION = 'os_volume_api_version'
API_NAME = "volume"
API_VERSIONS = {