python-openstackclient/releasenotes/notes/bug-1719499-d67d80b0da0bc30a.yaml
ShogoAdachi 4464109c77 Accept 0 for --min-disk and --min-ram
The current openstackclient implementation cannot accept 0
for --min-disk and --min-ram with the "openstack image set" command.
If theses options get set to 0, the option parser in openstackclient
wrongly interprets 0 as no option value. The 0 is valid for these
options if administrators want to make it the default(no minimum
requirements).

This patch fix the parser so that it avoids only 'None'.

Change-Id: Ie8ee37484c02c26f54adc56263fcd167c0ce7eb3
Closes-bug: #1719499
2017-10-20 19:48:37 +00:00

6 lines
198 B
YAML

---
fixes:
- |
Accept ``0`` as a valid value in the ``image set`` ``--min-disk`` and ``--min-ram`` options.
.. _bug 1719499: https://bugs.launchpad.net/python-openstackclient/+bug/1719499