c95cd011d0
When doing a PUT to /allocations/{consumer_uuid} if the list of
allocations is empty there is a 500 error coming from an uncaught
IndexError.
Adjust the schema to require at least one allocation. If no allocations
are provided in the list, the response will be a 400.
This doesn't require a microversion because it is changing a 500 to
a useful response.
Change-Id: I361fa1e534d7b20c985558e272b672b84c6fe439
Closes-Bug: #1708260
(cherry picked from commit
|
||
---|---|---|
.. | ||
handlers | ||
__init__.py | ||
auth.py | ||
deploy.py | ||
handler.py | ||
microversion.py | ||
policy.py | ||
requestlog.py | ||
rest_api_version_history.rst | ||
util.py | ||
wsgi.py |