summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-06-21 15:15:18 +0800
committerTang Chen <chen.tang@easystack.cn>2016-06-21 15:15:18 +0800
commit9c62af8a42ebfeb60d88f5ad0af7c1c2fd562853 (patch)
tree2ec2096d6013b8f424b13128a1f438e70024eeeb /openstackclient/common
parent7cda2b2a066cd45c7aeb9a6d92c1a83e49d48128 (diff)
downloadpython-openstackclient-9c62af8a42ebfeb60d88f5ad0af7c1c2fd562853.tar.gz
Make set/unset commands in compute/image/common return normally when nothing specified
After this patch, all set/unset commands will return normally when nothing specified. Change-Id: Id94d0329faa1a674006a9aae901f834b41917317 Close-bug: #1588588
Diffstat (limited to 'openstackclient/common')
-rw-r--r--openstackclient/common/quota.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py
index 087d8ea3..69415f0d 100644
--- a/openstackclient/common/quota.py
+++ b/openstackclient/common/quota.py
@@ -142,11 +142,6 @@ class SetQuota(command.Command):
if value is not None:
compute_kwargs[k] = value
- if (compute_kwargs == {} and volume_kwargs == {}
- and network_kwargs == {}):
- sys.stderr.write("No quotas updated\n")
- return
-
if parsed_args.project:
project = utils.find_resource(
identity_client.projects,