python-openstackclient/openstackclient
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
..
api Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
common Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
compute Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
identity Implied Roles 2017-08-22 17:08:30 +00:00
image Accept 0 for --min-disk and --min-ram 2017-10-20 19:48:37 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2017-08-16 07:50:55 +00:00
network Allow PD as Subnetpool during Subnet creations 2017-08-17 02:44:44 +00:00
object Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
tests Accept 0 for --min-disk and --min-ram 2017-10-20 19:48:37 +00:00
volume Replace "Display Name" by "Name" in volume list 2017-05-26 11:37:09 +08:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Improve no-auth path 2017-04-24 18:57:10 -05:00