diff options
author | iximeow <me@iximeow.net> | 2023-06-27 02:05:24 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-06-27 02:05:24 -0700 |
commit | 9899404661cb7ee9181a2354e8ed72e5e9185192 (patch) | |
tree | a8454fea4378fa1b70d6fb8a668f488d4a6bb7d5 /src | |
parent | 9935497b37ece1317dbcc849b295b33410e0ffca (diff) |
[all] a job may have null run_host if it has never been run
Diffstat (limited to 'src')
-rw-r--r-- | src/dbctx.rs | 2 |
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, |