
It was observed that md-tag-create-multiple (/v2/metadefs/namespaces/{namespace_name}/tags) API overwrites existing tags for specified namespace rather than creating new one in addition to the existing tags. This patch resolves the issue by introducing a header 'X-Openstack-Append' which on being True will append the new tags to existing ones and if False will continue to overwrite the tags. Implements: blueprint append-tags Closes-Bug: #1939169 Change-Id: I29448746b14c542e5fbf0283011968ae1516642e
14 lines
480 B
YAML
14 lines
480 B
YAML
---
|
|
features:
|
|
- |
|
|
A new optional header ``X-Openstack-Append`` has been added to append the
|
|
new metadef tags to the existing tags. If the header is present it will
|
|
append the new tags to the existing one, if not then it will default to the
|
|
old behaviour i.e. overwriting the existing tags with the new one.
|
|
Fixes:
|
|
- |
|
|
* Bug 1939169_: glance md-tag-create-multiple overwrites existing tags
|
|
|
|
.. _1939169: https://bugs.launchpad.net/glance/+bug/1939169
|
|
|