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:
parent
3751dbf127
commit
f14251669f
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user