ovirt_template remove unnecessary ret (#63382)

This commit is contained in:
Martin Nečas 2019-10-14 13:16:34 +02:00 committed by ansibot
parent 0ca682384d
commit aa0d4ef4ab

View file

@ -1025,11 +1025,6 @@ def main():
if template is None:
raise TimeoutError("Image/template '%s' could not be imported. Try again with larger timeout." % template_name)
ret = templates_module.create(result_state=otypes.TemplateStatus.OK)
ret = {
'changed': True,
'id': template.id,
'template': get_dict_of_struct(template),
}
elif state == 'registered':
storage_domains_service = connection.system_service().storage_domains_service()
# Find the storage domain with unregistered template: