diff --git a/lib/voyager-sidecar/src/main.rs b/lib/voyager-sidecar/src/main.rs index 844bfac9e2..459469556e 100644 --- a/lib/voyager-sidecar/src/main.rs +++ b/lib/voyager-sidecar/src/main.rs @@ -24,9 +24,7 @@ async fn main() { .get(format!("{voyager_url}/health")) .send() .await - .unwrap() - .status() - == StatusCode::OK + .is_ok_and(|res| res.status() == StatusCode::OK) { break; }