From f4359b688cf22005e2e1cc6901835380a1ae01e5 Mon Sep 17 00:00:00 2001 From: Vadim Kharitonov Date: Fri, 10 Feb 2023 13:53:47 +0100 Subject: [PATCH] Backport `cargo fmt` diff from `release` branch into `main` --- compute_tools/src/http/api.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -> Response { //