Public bug reported:

When add or replace a duplicate location to an image, Glance should
raise 409 HTTPConflict, not 400 HTTPBadRequest.

The glance client raise 409, we should keep the same with the client.

** Affects: glance
     Importance: Undecided
     Assignee: wangxiyuan (wangxiyuan)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => wangxiyuan (wangxiyuan)

** Description changed:

  When add or replace a duplicate location to an image, Glance should
  raise 409 HTTPConflict, not 400 HTTPBadRequest.
+ 
+ The glance client raise 409, we should keep the same with the client.

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

Title:
  Duplicate location error should raise HTTPConflict

Status in Glance:
  In Progress

Bug description:
  When add or replace a duplicate location to an image, Glance should
  raise 409 HTTPConflict, not 400 HTTPBadRequest.

  The glance client raise 409, we should keep the same with the client.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to