Fix typo
This commit is contained in:
parent
a59100b231
commit
c14368fc66
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def build_status_view(build_obj):
|
||||||
if datetime.datetime.utcnow() - heartbeat > datetime.timedelta(minutes=1):
|
if datetime.datetime.utcnow() - heartbeat > datetime.timedelta(minutes=1):
|
||||||
phase = database.BUILD_PHASE.INTERNAL_ERROR
|
phase = database.BUILD_PHASE.INTERNAL_ERROR
|
||||||
|
|
||||||
# If the phase is internal error, return 'error' instead of the number if retries
|
# If the phase is internal error, return 'error' instead if the number of retries
|
||||||
# on the queue item is 0.
|
# on the queue item is 0.
|
||||||
if phase == database.BUILD_PHASE.INTERNAL_ERROR:
|
if phase == database.BUILD_PHASE.INTERNAL_ERROR:
|
||||||
retry = build_obj.queue_id and dockerfile_build_queue.has_retries_remaining(build_obj.queue_id)
|
retry = build_obj.queue_id and dockerfile_build_queue.has_retries_remaining(build_obj.queue_id)
|
||||||
|
|
Reference in a new issue