e334d93583
If you pass non-existing segment-id to segment delete command, then it shows `NoneType' object has no attribute 'to_dict` error on the command console. This patch fixes the above issue by passing `ignore_missing=False` parameter to the segment and host delete client API so that it will raise ResourceNotFound exception. Added unit tests for the same. Closes-Bug: #1801905 Change-Id: I9aa0d5818cc8669b2f54fdc69ace3db2ea36e96d |
||
---|---|---|
.. | ||
common | ||
osc | ||
tests | ||
v1 | ||
__init__.py | ||
cliargs.py | ||
client.py | ||
plugin.py | ||
shell.py |