summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorAnindita Das <anindita.das@intel.com>2016-07-07 16:03:19 +0000
committerAnindita Das <anindita.das@intel.com>2016-08-29 16:51:09 +0000
commit98110501e024547dfdc3c3c441ced3f91fe8462c (patch)
treec803a7e2c6285d86551e2a956838c11dd03f6871 /releasenotes
parent9896baeeef4c6e637bdfc4298cc9f9ff429c8a2e (diff)
downloadpython-neutronclient-98110501e024547dfdc3c3c441ced3f91fe8462c.tar.gz
quota-update to return an error msg for 0 args
If no arguments are provided while executing neutron quota-update instead of printing the current quota values it will throw an error message "Must specify new values to update quota" Added unit test to verify that the exception is raised when no arguments are provided to quota update Includes release notes. DocImpact Closes-Bug: #1597552 Change-Id: I476991c39eafa16148f0cc3252ae5c26b9c8cbfc
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/fix-quota-update-zero-args-d596c4169c2d2e30.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-quota-update-zero-args-d596c4169c2d2e30.yaml b/releasenotes/notes/fix-quota-update-zero-args-d596c4169c2d2e30.yaml
new file mode 100644
index 0000000..eb70752
--- /dev/null
+++ b/releasenotes/notes/fix-quota-update-zero-args-d596c4169c2d2e30.yaml
@@ -0,0 +1,9 @@
+---
+fixes:
+ - |
+ Fix CLI quota-update to return an error message for no args
+
+ * ``quota-update`` CLI will return an error message
+ ``Must specify a valid resource with new quota value`` if no
+ argument is provided while executing it. If arguments are
+ provided with CLI, no existing behavior is changed.