builders: Fix function call

Fix a function call typo in previous commit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2021-10-31 12:53:33 +00:00
parent 7353a843d5
commit 8829a85464

View File

@ -74,7 +74,7 @@ def canStartBuild(builder, wfb, request):
return False return False
log.msg("Detected {0} GB of space available, more than threshold of {1} GB. OK to build".format(cmd.stdout, threshold)) log.msg("Detected {0} GB of space available, more than threshold of {1} GB. OK to build".format(cmd.stdout, threshold))
if wfb.worker.isPaused: if wfb.worker.isPaused():
# It was low on space so delay the builds starting a bit # It was low on space so delay the builds starting a bit
wfb.worker.quarantine_timeout = 2 * 60 wfb.worker.quarantine_timeout = 2 * 60
wfb.worker.putInQuarantine() wfb.worker.putInQuarantine()