treewide: replace BuildStatus::Completed with BuildStatus::Succeeded
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I965dfaca211f9fde527a84a54ae972576a6a6964
This commit is contained in:
parent
f6fcf49aa7
commit
541cd7832f
7 changed files with 39 additions and 22 deletions
|
|
@ -153,7 +153,7 @@ pub async fn auto_promote_if_complete(
|
|||
) -> Result<()> {
|
||||
// Check if all builds for this evaluation are completed
|
||||
let row: (i64, i64) = sqlx::query_as(
|
||||
"SELECT COUNT(*), COUNT(*) FILTER (WHERE status = 'completed') FROM \
|
||||
"SELECT COUNT(*), COUNT(*) FILTER (WHERE status = 'succeeded') FROM \
|
||||
builds WHERE evaluation_id = $1",
|
||||
)
|
||||
.bind(evaluation_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue