Skip to content

Commit e2e33ad

Browse files
committed
Merge pull request #3056 from carmstrong/fix-3054
fix(controller): remove timeout on container launch
2 parents 46c2b6a + 93ea9aa commit e2e33ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

controller/scheduler/fleet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ def _do_ssh(cmd):
257257
return rc, output
258258

259259
# wait for container to launch
260-
for _ in range(60):
260+
# we loop indefinitely here, as we have no idea how long the docker pull will take
261+
while True:
261262
rc, _ = _do_ssh('docker inspect {name}'.format(**locals()))
262263
if rc == 0:
263264
break

0 commit comments

Comments
 (0)