Merge "Fix the evacuate API without json-schema validation in 2.13" into stable/ocata
This commit is contained in:
commit
506465a027
@ -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
Block a user