yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89215
[Bug 1980049] Re: Correction in response code for DELETE /v2/cache/{image_id} and /v2/cache API
Reviewed: https://review.opendev.org/c/openstack/glance/+/847877
Committed: https://opendev.org/openstack/glance/commit/a71f7ba44e57a7945addb82afd2a19962d5c04cc
Submitter: "Zuul (22348)"
Branch: master
commit a71f7ba44e57a7945addb82afd2a19962d5c04cc
Author: Abhishek Kekane <akekane@xxxxxxxxxx>
Date: Tue Jun 28 05:40:15 2022 +0000
[APIImpact] Correct API response code for DELETE cache APIs
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
** Changed in: glance
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1980049
Title:
Correction in response code for DELETE /v2/cache/{image_id} and
/v2/cache API
Status in Glance:
Fix Released
Bug description:
The newly added cache API ``DELETE /v2/cache/{image_id}, /v2/cache``
returns http 200 response to user whereas as per the original proposal
[1] it should have been http 204.
[1] https://opendev.org/openstack/glance-
specs/blame/commit/2638ada23d92f714f54b71db00330e4a6c921beb/specs/xena/approved/glance/cache-
api.rst#L131
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1980049/+subscriptions
References