2655e8bba9
When trying to create a consistency group with the quota reached already, the error raised to the user is the generic "ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)" message. This patch will make the error message return to the user with a 413 error code. Such as "ERROR: GroupLimitExceeded: Maximum number of groups allowed (10) exceeded'.(HTTP 413)" Change-Id: I0dd86dbc84d3dc75568c39aca8150c8fa12c4811 Closes-Bug: #1610295 |
||
---|---|---|
.. | ||
__init__.py | ||
api.py |