Fix deactivate/reactivate error to 403 in spec
As it is, Glance correctly returns a 403 when one attempts to deactivate (reactivate) an image that is not in active (deactivated) status. A typo in the current spec incorrectly states that a 400 is returned in this situation. This patch corrects the typo. No code fix is required. Closes-Bug: #1445487 Change-Id: I7d7ed4716bffa69fa5f7f17145a1b64acc1cdbfa
This commit is contained in:
parent
dbf1df09ea
commit
ca6d06695c
@ -87,7 +87,7 @@ http://eavesdrop.openstack.org/meetings/api_wg/2015/api_wg.2015-02-19-00.00.log.
|
||||
* Description: Deactivate an image
|
||||
* Method: POST
|
||||
* Normal response code(s): 204
|
||||
* Expected error http response code(s): 400
|
||||
* Expected error http response code(s): 403
|
||||
|
||||
* When calling deactivate on an image which is not currently in the
|
||||
'active' or 'deactivated' state.
|
||||
@ -100,7 +100,7 @@ http://eavesdrop.openstack.org/meetings/api_wg/2015/api_wg.2015-02-19-00.00.log.
|
||||
* Description: Reactivate an image
|
||||
* Method: POST
|
||||
* Normal response code(s): 204
|
||||
* Expected error http response code(s): 400
|
||||
* Expected error http response code(s): 403
|
||||
|
||||
* When calling reactivate on an image which is not currently
|
||||
in the 'deactivated' or 'active' state.
|
||||
|
Loading…
x
Reference in New Issue
Block a user