Skip to content

Commit f142516

Browse files
author
Steve Martinelli
committed
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
1 parent 3751dbf commit f142516

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/volume/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
LOG = logging.getLogger(__name__)
2121

22-
DEFAULT_API_VERSION = '1'
22+
DEFAULT_API_VERSION = '2'
2323
API_VERSION_OPTION = 'os_volume_api_version'
2424
API_NAME = "volume"
2525
API_VERSIONS = {

0 commit comments

Comments
 (0)