From 9d8fab03e0ac4fa902486adc94ab8fa8847ce06f Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Tue, 3 Sep 2024 14:32:19 +0200 Subject: [PATCH] fix jaeger http endpoint (#5378) --- quickwit/quickwit-jaeger/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quickwit/quickwit-jaeger/src/lib.rs b/quickwit/quickwit-jaeger/src/lib.rs index 3efa278c5db..815f5ef7015 100644 --- a/quickwit/quickwit-jaeger/src/lib.rs +++ b/quickwit/quickwit-jaeger/src/lib.rs @@ -330,7 +330,10 @@ impl JaegerService { default_operator: BooleanOperand::And, lenient: true, }; - query.must.push(is_root.into()); + let mut new_query = BoolQuery::default(); + new_query.must.push(query.into()); + new_query.must.push(is_root.into()); + query = new_query; } let query_ast: QueryAst = query.into();