From 9a2d090eb4737967c1c6ff0e34f4dcc07bb68c75 Mon Sep 17 00:00:00 2001
From: Simon Quigley <simon@tsimonq2.net>
Date: Wed, 29 Jan 2025 22:38:12 -0600
Subject: [PATCH] build_check -> binary_check

---
 cpp/ci_database_objs.cpp | 2 +-
 cpp/web_server.cpp       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/ci_database_objs.cpp b/cpp/ci_database_objs.cpp
index ac63092..19e084b 100644
--- a/cpp/ci_database_objs.cpp
+++ b/cpp/ci_database_objs.cpp
@@ -958,7 +958,7 @@ bool PackageConf::can_check_builds() {
                 continue;
             }
 
-            if (jobstatus->name == "binary_check" && task_ptr) {
+            if (jobstatus->name == "build_check" && task_ptr) {
                 binary_check_timestamp = task_ptr->finish_time;
                 _total_task_count--;
                 continue;
diff --git a/cpp/web_server.cpp b/cpp/web_server.cpp
index ce1429f..08c19c5 100644
--- a/cpp/web_server.cpp
+++ b/cpp/web_server.cpp
@@ -246,7 +246,7 @@ bool WebServer::start_server(quint16 port) {
             if (!pkgconf->can_check_builds()) { continue; }
 
             task_queue->enqueue(
-                job_statuses->at("binary_check"),
+                job_statuses->at("build_check"),
                 [this, pkgconf, proposed](std::shared_ptr<Log> log) mutable {
                     std::string package_version = pkgconf->upstream_version + "-0ubuntu0~ppa" + std::to_string(pkgconf->ppa_revision);
                     bool found_in_ppa = false;