summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-04 02:06:04 -0700
committeriximeow <me@iximeow.net>2023-07-04 02:06:04 -0700
commitaa5bf75922dfecac53656ba76aadc180593b3d15 (patch)
tree4ff9f36946373350164ab8d34495f07b342060e9 /src
parent115746b22ff8390495cda5e6677d29b13d8b9f77 (diff)
missing query param
Diffstat (limited to 'src')
-rw-r--r--src/dbctx.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbctx.rs b/src/dbctx.rs
index 797c762..4734229 100644
--- a/src/dbctx.rs
+++ b/src/dbctx.rs
@@ -532,7 +532,7 @@ impl DbCtx {
let conn = self.conn.lock().unwrap();
let mut pending_query = conn.prepare(sql::PENDING_RUNS).unwrap();
- let mut runs = pending_query.query([]).unwrap();
+ let mut runs = pending_query.query([host_id]).unwrap();
let mut pending = Vec::new();
while let Some(row) = runs.next().unwrap() {