Skip to content

Commit 19ca396

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Using v2 as the default version of Glance"
2 parents 5ec4290 + 4bce716 commit 19ca396

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

openstackclient/image/client.py

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

2323
LOG = logging.getLogger(__name__)
2424

25-
DEFAULT_API_VERSION = '1'
25+
DEFAULT_API_VERSION = '2'
2626
API_VERSION_OPTION = 'os_image_api_version'
2727
API_NAME = "image"
2828
API_VERSIONS = {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- Changed the default version of ``OS_IMAGE_API_VERSION`` to ``2``. Image v1
4+
has been deprecated for more than six months and other projects, such as
5+
`shade` and `os-client-config` are using Image v2 by default as well.
6+
[Bug `1642772 <https://bugs.launchpad.net/bugs/1642772>`_]

0 commit comments

Comments
 (0)