summaryrefslogtreecommitdiff
path: root/src/dbctx.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-06-27 02:05:24 -0700
committeriximeow <me@iximeow.net>2023-06-27 02:05:24 -0700
commit9899404661cb7ee9181a2354e8ed72e5e9185192 (patch)
treea8454fea4378fa1b70d6fb8a668f488d4a6bb7d5 /src/dbctx.rs
parent9935497b37ece1317dbcc849b295b33410e0ffca (diff)
[all] a job may have null run_host if it has never been run
Diffstat (limited to 'src/dbctx.rs')
-rw-r--r--src/dbctx.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbctx.rs b/src/dbctx.rs
index 926f717..0269a18 100644
--- a/src/dbctx.rs
+++ b/src/dbctx.rs
@@ -41,7 +41,7 @@ pub struct Job {
pub id: u64,
pub artifacts_path: Option<String>,
pub state: sql::JobState,
- pub run_host: String,
+ pub run_host: Option<String>,
pub remote_id: u64,
pub commit_id: u64,
pub created_time: u64,