diff --git a/socktop_agent/src/main.rs b/socktop_agent/src/main.rs index e503b5c..f9a1261 100644 --- a/socktop_agent/src/main.rs +++ b/socktop_agent/src/main.rs @@ -48,7 +48,9 @@ async fn main() -> anyhow::Result<()> { let _h_disks = spawn_disks_sampler(state.clone(), std::time::Duration::from_secs(5)); // Web app: route /ws to the websocket handler - async fn healthz() -> StatusCode { StatusCode::OK } + async fn healthz() -> StatusCode { + StatusCode::OK + } let app = Router::new() .route("/ws", get(ws::ws_handler)) .route("/healthz", get(healthz))