Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Suppress unused_mut warning for admin_router on non-unix builds

Chris Lu2a6f27eb086e
diff --git a/seaweed-volume/src/main.rs b/seaweed-volume/src/main.rs
index b7cbd22c82..427e3b7e5c 100644
--- a/seaweed-volume/src/main.rs
+++ b/seaweed-volume/src/main.rs
@@ -441,6 +441,7 @@ async fn run(
}
// Build HTTP routers
+ #[allow(unused_mut)]
let mut admin_router = seaweed_volume::server::volume_server::build_admin_router_with_ui(
state.clone(),
config.ui_enabled,