We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b35c2a + 179ed18 commit a6deef6Copy full SHA for a6deef6
1 file changed
openstackclient/common/quota.py
@@ -97,8 +97,9 @@ def take_action(self, parsed_args):
97
98
compute_kwargs = {}
99
for k, v in COMPUTE_QUOTAS.items():
100
- if v in parsed_args:
101
- compute_kwargs[k] = getattr(parsed_args, v, None)
+ value = getattr(parsed_args, v, None)
+ if value is not None:
102
+ compute_kwargs[k] = value
103
104
volume_kwargs = {}
105
for k, v in VOLUME_QUOTAS.items():
0 commit comments