Skip to content

Commit

Permalink
fix: fix pipeline status computation
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 16, 2024
1 parent ccd25c9 commit b7b2190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub async fn pipeline_list(
{
let mut has_error = false;
let mut has_failed = false;
let mut has_unfinished = true;
let mut has_unfinished = false;
for job in &jobs {
match (job.status.as_str(), job.build_success, job.pushpkg_success) {
("error", _, _) => has_error = true,
Expand Down

0 comments on commit b7b2190

Please sign in to comment.