|
|
@ -2838,12 +2838,6 @@ class DecortController(object):
|
|
|
|
|
|
|
|
|
|
|
|
DISK_INVALID_STATES = ["MODELED", "CREATING", "DELETING", "DESTROYING"]
|
|
|
|
DISK_INVALID_STATES = ["MODELED", "CREATING", "DELETING", "DESTROYING"]
|
|
|
|
|
|
|
|
|
|
|
|
if self.amodule.check_mode:
|
|
|
|
|
|
|
|
self.result['failed'] = False
|
|
|
|
|
|
|
|
self.result['msg'] = "disk_find() in check mode: find Disk ID {} / name '{}' was requested.".format(disk_id,
|
|
|
|
|
|
|
|
name)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ret_disk_id = 0
|
|
|
|
ret_disk_id = 0
|
|
|
|
ret_disk_facts = None
|
|
|
|
ret_disk_facts = None
|
|
|
|
|
|
|
|
|
|
|
|