aeb47213ea
Using the manilaclient 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 `manila --os-cache`. 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. This patch uses the same fix implemented in the python-cinderclient. Closes-Bug: #1902873 Change-Id: I5fcafd4bdfb40b2054e1205c14493c2f4be1f77a
8 lines
246 B
YAML
8 lines
246 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1902873 <https://bugs.launchpad.net/python-manilaclient/+bug/1902873>`_:
|
|
Fixed raw Python error message when using ``manila`` without
|
|
a subcommand while passing an optional argument, such as
|
|
``--os-cache``.
|