python-masakariclient/masakariclient
jayashri bidwe e334d93583 Delete segment and host shouldn't ignore not found error
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
2018-12-07 14:23:15 +05:30
..
common Remove masakariclient's proxy class 2018-05-16 02:11:04 +00:00
osc Remove masakariclient's proxy class 2018-05-16 02:11:04 +00:00
tests Delete segment and host shouldn't ignore not found error 2018-12-07 14:23:15 +05:30
v1 Delete segment and host shouldn't ignore not found error 2018-12-07 14:23:15 +05:30
__init__.py Change masakariclient initial module 2016-11-07 05:08:51 +00:00
cliargs.py Add --os-interface and --os-region-name options 2018-08-15 14:02:05 +09:00
client.py Add masakari CLI Implemented the masakari CLI code 2016-11-08 10:12:39 +00:00
plugin.py Fix osc command issue 2018-11-06 16:19:46 +09:00
shell.py Add --os-interface and --os-region-name options 2018-08-15 14:02:05 +09:00