Fix the evacuate API without json-schema validation in 2.13
The evacuate API loses the json-schema validation in 2.13 since the commitc01d16e81a
. This patch fixes it. Change-Id: I7f221e3b924d91739ec9b24fd090410fb5fce55a Closes-bug: #1683752 (cherry picked from commitc97c44cdfb
)
This commit is contained in:
parent
acb19160d4
commit
4cd77a28bc
|
@ -74,7 +74,7 @@ class EvacuateController(wsgi.Controller):
|
|||
# backwards compatibility reasons.
|
||||
@extensions.expected_errors((400, 404, 409))
|
||||
@wsgi.action('evacuate')
|
||||
@validation.schema(evacuate.evacuate, "2.1", "2.12")
|
||||
@validation.schema(evacuate.evacuate, "2.1", "2.13")
|
||||
@validation.schema(evacuate.evacuate_v214, "2.14", "2.28")
|
||||
@validation.schema(evacuate.evacuate_v2_29, "2.29")
|
||||
def _evacuate(self, req, id, body):
|
||||
|
|
Loading…
Reference in New Issue