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
This commit is contained in:
Steve Martinelli 2015-08-24 10:38:43 -05:00
parent 3751dbf127
commit f14251669f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ from openstackclient.common import utils
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
DEFAULT_API_VERSION = '1' DEFAULT_API_VERSION = '2'
API_VERSION_OPTION = 'os_volume_api_version' API_VERSION_OPTION = 'os_volume_api_version'
API_NAME = "volume" API_NAME = "volume"
API_VERSIONS = { API_VERSIONS = {