Fix the evacuate API without json-schema validation in 2.13

The evacuate API loses the json-schema validation in 2.13 since
the commit c01d16e81a. This patch
fixes it.

Change-Id: I7f221e3b924d91739ec9b24fd090410fb5fce55a
Closes-bug: #1683752
(cherry picked from commit c97c44cdfb)
This commit is contained in:
He Jie Xu 2017-04-18 19:40:50 +08:00
parent acb19160d4
commit 4cd77a28bc
1 changed files with 1 additions and 1 deletions

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