Exclude 'failed' setting in case when image not found in DecortController.virt_image_find method

rc-5.3.0^2
Dmitriy Smirnov 9 months ago
parent 57dba89b5a
commit aa96af1455

@ -1448,7 +1448,6 @@ class DecortController(object):
if full_match: if full_match:
return image_record['id'], image_record return image_record['id'], image_record
self.result['failed'] = True
self.result['msg'] = ("Failed to find virtual OS image by name '{}', SEP ID {}, pool '{}' for " self.result['msg'] = ("Failed to find virtual OS image by name '{}', SEP ID {}, pool '{}' for "
"account ID '{}'.").format(virt_name, "account ID '{}'.").format(virt_name,
sepid, pool, sepid, pool,

Loading…
Cancel
Save