Fix the status badge logic again.
This commit is contained in:
parent
7a89b0872f
commit
5f0969778e
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ def build_status_badge(namespace, repository):
|
|||
status_name = 'ready'
|
||||
elif build and build.phase == 'error':
|
||||
status_name = 'failed'
|
||||
elif build:
|
||||
elif build and build.phase != 'complete':
|
||||
status_name = 'building'
|
||||
else:
|
||||
status_name = 'none'
|
||||
|
|
Reference in a new issue