← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1971521] [NEW] Correction in response code for PUT /v2/cache/{image_id} API

 

Public bug reported:

The newly added cache API ``PUT /v2/cache/{image_id}`` returns http 200
response to user whereas as per the original proposal [1] it should have
been http 202.

[1] https://opendev.org/openstack/glance-
specs/blame/commit/2638ada23d92f714f54b71db00330e4a6c921beb/specs/xena/approved/glance/cache-
api.rst#L153

** Affects: glance
     Importance: Undecided
     Assignee: Abhishek Kekane (abhishek-kekane)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)

** Description changed:

  The newly added cache API ``PUT /v2/cache/{image_id}`` returns http 200
  response to user whereas as per the original proposal [1] it should have
  been http 202.
+ 
+ [1] https://opendev.org/openstack/glance-
+ specs/blame/commit/2638ada23d92f714f54b71db00330e4a6c921beb/specs/xena/approved/glance/cache-
+ api.rst#L153

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1971521

Title:
  Correction in response code for PUT /v2/cache/{image_id} API

Status in Glance:
  New

Bug description:
  The newly added cache API ``PUT /v2/cache/{image_id}`` returns http
  200 response to user whereas as per the original proposal [1] it
  should have been http 202.

  [1] https://opendev.org/openstack/glance-
  specs/blame/commit/2638ada23d92f714f54b71db00330e4a6c921beb/specs/xena/approved/glance/cache-
  api.rst#L153

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1971521/+subscriptions



Follow ups