mirror of
https://pagure.io/fedora-qa/createhdds.git
synced 2024-11-25 08:13:07 +00:00
Fix recursive create()
call on timeout
It wasn't passing textinst, so it'd crash on the first retry. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
dfc1c216c0
commit
2d09aa6ef5
@ -273,7 +273,7 @@ class VirtInstallImage(object):
|
|||||||
os.remove(tmpfile)
|
os.remove(tmpfile)
|
||||||
if retries:
|
if retries:
|
||||||
logger.info("Retrying: %s retries remain after this", str(retries))
|
logger.info("Retrying: %s retries remain after this", str(retries))
|
||||||
return self.create(retries=retries-1)
|
return self.create(textinst, retries=retries-1)
|
||||||
else:
|
else:
|
||||||
sys.exit("Image creation timed out too many times!")
|
sys.exit("Image creation timed out too many times!")
|
||||||
if ret > 0:
|
if ret > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user