Merge "Fix the evacuate API without json-schema validation in 2.13" into stable/ocata

This commit is contained in:
Jenkins 2017-04-28 05:54:10 +00:00 committed by Gerrit Code Review
commit 506465a027

View File

@ -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):