Merge "Using v2 as the default version of Glance"

This commit is contained in:
Jenkins 2016-12-02 18:29:08 +00:00 committed by Gerrit Code Review
commit 19ca396508
2 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,7 @@ from openstackclient.i18n import _
LOG = logging.getLogger(__name__)
DEFAULT_API_VERSION = '1'
DEFAULT_API_VERSION = '2'
API_VERSION_OPTION = 'os_image_api_version'
API_NAME = "image"
API_VERSIONS = {

View File

@ -0,0 +1,6 @@
---
fixes:
- Changed the default version of ``OS_IMAGE_API_VERSION`` to ``2``. Image v1
has been deprecated for more than six months and other projects, such as
`shade` and `os-client-config` are using Image v2 by default as well.
[Bug `1642772 <https://bugs.launchpad.net/bugs/1642772>`_]