diff options
| author | kairat_kushaev <kkushaev@mirantis.com> | 2015-11-06 18:16:30 +0300 |
|---|---|---|
| committer | wangxiyuan <wangxiyuan@huawei.com> | 2016-01-15 01:24:48 +0000 |
| commit | cea67763c9f8037f47844e3e057166d6874d801d (patch) | |
| tree | 1d16f8f645f5c6b90abad264058fac61641f2d29 /glanceclient/common/https.py | |
| parent | 29734896220bf0b209618e3d711c97beaf05aadf (diff) | |
| download | python-glanceclient-cea67763c9f8037f47844e3e057166d6874d801d.tar.gz | |
Remove location check from V2 client
Glance client has a custom check that generates exception if
location has not been returned by image-get request.
This check should on server side and it should be managed by
policy rules when do location-add action.
That also allows to increase possibility of migrating Heat
to v2[1].
NOTE: After this patch, we'll raise a HTTPBadRequest from
server side instead of HTTPConflict when a user adds a
duplicate location.
[1]: https://review.openstack.org/#/c/240450/
Co-Authored-By: wangxiyuan <wangxiyuan@huawei.com>
Change-Id: I778ad2a97805b4d85eb0430c603c27a0a1c148e0
Closes-bug: #1493026
Diffstat (limited to 'glanceclient/common/https.py')
0 files changed, 0 insertions, 0 deletions
