e85d845b1a
Using the novaclient without a subcommand while passing an optional argument triggers the raw Python error `ERROR: 'Namespace' object has no attribute 'func'`. This bug can be reproduced by issuing the command `nova --os-compute-api-version 2.87`. Added a default value to `func` and an empty value to `command` as placeholders so that a help message is shown instead of the Python error. Change-Id: Ic3e87b67f6d27d40b03d7d8e520fa0f79a4d09e5 Closes-Bug: #1903727 Signed-off-by: Takashi Natsume <takanattie@gmail.com>
8 lines
261 B
YAML
8 lines
261 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1903727 <https://bugs.launchpad.net/python-novaclient/+bug/1903727>`_:
|
|
Fixed raw Python error message when using ``nova`` without
|
|
a subcommand while passing an optional argument, such as
|
|
``--os-compute-api-version 2.87``.
|