From aa5bf75922dfecac53656ba76aadc180593b3d15 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 4 Jul 2023 02:06:04 -0700 Subject: missing query param --- src/dbctx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() { -- cgit v1.1