We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46c2b6a + 93ea9aa commit e2e33adCopy full SHA for e2e33ad
1 file changed
controller/scheduler/fleet.py
@@ -257,7 +257,8 @@ def _do_ssh(cmd):
257
return rc, output
258
259
# wait for container to launch
260
- for _ in range(60):
+ # we loop indefinitely here, as we have no idea how long the docker pull will take
261
+ while True:
262
rc, _ = _do_ssh('docker inspect {name}'.format(**locals()))
263
if rc == 0:
264
break
0 commit comments