api: Fix off-by-one error
Change-Id: I08e6bef63478df7c69a3f1f9864859a95c2e755e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -505,7 +505,7 @@ class AllocationsController(pecan.rest.RestController):
|
||||
@validation.request_parameter_schema(schema.update_request_parameter)
|
||||
@validation.request_body_schema(schema.update_request_body, None, 59)
|
||||
@validation.request_body_schema(schema.update_request_body_v60, 60)
|
||||
@validation.response_body_schema(schema.update_response_body, None, 60)
|
||||
@validation.response_body_schema(schema.update_response_body, None, 59)
|
||||
@validation.response_body_schema(schema.update_response_body_v60, 60)
|
||||
def patch(self, allocation_ident, patch):
|
||||
"""Update an existing allocation.
|
||||
|
Reference in New Issue
Block a user