a71f7ba44e
DELETE /v2/cache/{image_id} and /v2/cache returns HTTP 200 response code to user but as per proposal it should be HTTP 204. This change returns HTTP 204 response to user. Closes-Bug: #1980049 Change-Id: I9d1c25638584fe346e3937d0536413d548d46e8e
15 lines
539 B
YAML
15 lines
539 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
The Image service API call ``DELETE /v2/cache/{image_id}`` and
|
|
``DELETE /v2/cache`` now returns a 204 (No Content) response code
|
|
to indicate success. In glance 24.0.0 (the initial Yoga release),
|
|
it had mistakenly returned a 200.
|
|
|
|
fixes:
|
|
- |
|
|
Bug `1980049 <https://bugs.launchpad.net/glance/+bug/1980049>`_:
|
|
Fixed the success response code of the REST API call
|
|
``DELETE /v2/cache/{image_id}`` and ``DELETE /v2/cache`` to be
|
|
204 (No Content), following the original design of the feature.
|