summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {