Skip to content

Commit 6338db1

Browse files
author
SrikanteswaraRao Talluri
committed
CLOUDSTACK-5113: temporary fix to return first template in the list
1 parent d38cab8 commit 6338db1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/marvin/marvin/integration/lib/common.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def get_template(apiclient, zoneid, ostype, services=None,
234234
for template in list_templates:
235235
if template.isready and template.templatetype == templatetype:
236236
return template
237-
237+
return list_templates[0]
238238
raise Exception("Exception: Failed to find built in template which is in "
239239
"ready state: %s" % templatetype)
240240
return

0 commit comments

Comments
 (0)