Merge "Fix: Quota update successfully executes with no params"

This commit is contained in:
Zuul 2019-09-01 00:43:29 +00:00 committed by Gerrit Code Review
commit 25ae839e4c

@ -247,6 +247,9 @@ def quota_update(manager, identifier, args):
if not skip_validation:
updates['skip_validation'] = skip_validation
quota_show(manager.update(identifier, **updates))
else:
msg = 'Must supply at least one quota field to update.'
raise exceptions.ClientException(code=1, message=msg)
def find_volume_type(cs, vtype):