Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit cd016e9

Browse files
wbillerWaldemar Biller
authored andcommitted
docs(api,scheduler): fix "timeout" typos
1 parent bd7efda commit cd016e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rootfs/api/models/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def verify_application_health(self, **kwargs):
632632
req_timeout = 3
633633

634634
# Give the router max of 10 tries or max 30 seconds to become healthy
635-
# Uses time module to account for the timout value of 3 seconds
635+
# Uses time module to account for the timeout value of 3 seconds
636636
start = time.time()
637637
failed = False
638638
headers = {
@@ -651,7 +651,7 @@ def verify_application_health(self, **kwargs):
651651
time.sleep(1) # just a bit of a buffer
652652
continue
653653

654-
# 30 second timeout (timout per request * 10)
654+
# 30 second timeout (timeout per request * 10)
655655
if (time.time() - start) > (req_timeout * 10):
656656
break
657657

rootfs/scheduler/resources/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def wait_until_ready(self, namespace, name, **kwargs):
330330

331331
# a rough calculation that figures out an overall timeout
332332
timeout = len(batches) * deploy_timeout
333-
self.log(namespace, 'This deployments overall timeout is {}s - batch timout is {}s and there are {} batches to deploy with a total of {} pods'.format(timeout, deploy_timeout, len(batches), replicas)) # noqa
333+
self.log(namespace, 'This deployments overall timeout is {}s - batch timeout is {}s and there are {} batches to deploy with a total of {} pods'.format(timeout, deploy_timeout, len(batches), replicas)) # noqa
334334

335335
# check for failed events(when quota exceeded for example)
336336
self._check_for_failed_events(namespace, labels=labels)

0 commit comments

Comments
 (0)