diff options
author | Andrew Glen-Young <andrew.glen-young@canonical.com> | 2012-12-06 10:22:35 -0500 |
---|---|---|
committer | Andrew Glen-Young <andrew.glen-young@canonical.com> | 2012-12-06 10:22:35 -0500 |
commit | 963fcdb6738cc2eb59aaa4edec5d8541fef4c9e4 (patch) | |
tree | 143f366e4b823b4e0b90bf1cfbeb237481dc7892 /bin/nova-manage | |
parent | 3fa86bc504b4e9ff716836f09201f2fac2c81bf4 (diff) | |
download | nova-963fcdb6738cc2eb59aaa4edec5d8541fef4c9e4.tar.gz nova-963fcdb6738cc2eb59aaa4edec5d8541fef4c9e4.tar.xz nova-963fcdb6738cc2eb59aaa4edec5d8541fef4c9e4.zip |
Fix regression allowing quotas to be applied to projects.
Change-Id: I9c7dfa7664badcafb800c02ee608699e56b344ab
Fixes: bug #1084261
Diffstat (limited to 'bin/nova-manage')
-rwxr-xr-x | bin/nova-manage | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index aa92d5ef0..7121c6f50 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -221,6 +221,10 @@ def _db_error(caught_exception): class ProjectCommands(object): """Class for managing projects.""" + @args('--project', dest="project_id", metavar='<Project name>', + help='Project name') + @args('--key', dest="key", metavar='<key>', help='Key') + @args('--value', dest="value", metavar='<value>', help='Value') def quota(self, project_id, key=None, value=None): """Set or display quotas for project""" ctxt = context.get_admin_context() |