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

This commit is contained in:
dyusmirnov committed 2024-05-29 18:11:05 +03:00
1 parent 57dba89b5a
commit aa96af1455
1 file changed
-1
-1
View File
@@ -1448,7 +1448,6 @@ class DecortController(object):
if full_match:
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 "
"account ID '{}'.").format(virt_name,
sepid, pool,