diff --git a/compute_tools/src/http/api.rs b/compute_tools/src/http/api.rs index 74d733424d..589a8e1434 100644 --- a/compute_tools/src/http/api.rs +++ b/compute_tools/src/http/api.rs @@ -3,6 +3,7 @@ use std::net::SocketAddr; use std::sync::Arc; use std::thread; +use crate::compute::ComputeNode; use anyhow::Result; use hyper::service::{make_service_fn, service_fn}; use hyper::{Body, Method, Request, Response, Server, StatusCode}; @@ -10,8 +11,6 @@ use serde_json; use tracing::{error, info}; use tracing_utils::http::OtelName; -use crate::compute::ComputeNode; - // Service function to handle all available routes. async fn routes(req: Request
, compute: &Arc