python-openstackclient/releasenotes/notes/service-set-option-61772a8940ad0778.yaml
Tang Chen ac1d86c343 Refactor SetService --enable/disable option
This patch changes the following:

1. --enable/disable option should follow the rules
   in the doc below:
   http://docs.openstack.org/developer/python-openstackclient/command-options.html#boolean-options

2. "--disable-resion" is specified but not "--disable",
   an exception is raised instead of igoring
   "--disable-reason" option.

Change-Id: I92e9234111e661bfe7119a8e19389a87c874ab0c
2016-06-04 22:42:46 +08:00

7 lines
252 B
YAML

---
upgrade:
- An exception is not raised by command ``service set`` when nothing
specified. Instead, the service is not enabled by default. And if
``--disable-resion`` is specified but not ``--disable``, an
exception will be raised.