fix: clippy

This commit is contained in:
weisd
2025-06-30 22:47:06 +08:00
parent c63c6187c5
commit c5358ba62c
3 changed files with 4 additions and 3 deletions
+4 -1
View File
@@ -5,7 +5,10 @@ use crate::{
use ecstore::global::get_global_action_cred;
use http::{HeaderMap, StatusCode};
use iam::store::UserType;
use madmin::{AccountStatus, AddOrUpdateUserReq, SRSessionPolicy, SRSvcAccCreate};
use madmin::{
AccountStatus, AddOrUpdateUserReq,
user::{SRSessionPolicy, SRSvcAccCreate},
};
use matchit::Params;
use policy::policy::{
Args,
-1
View File
@@ -143,7 +143,6 @@ async fn run(opt: config::Opt) -> Result<()> {
let (endpoint_pools, setup_type) =
EndpointServerPools::from_volumes(server_address.clone().as_str(), opt.volumes.clone()).map_err(Error::other)?;
// Print RustFS-style logging for pool formatting
for (i, eps) in endpoint_pools.as_ref().iter().enumerate() {
info!(
"Formatting {}st pool, {} set(s), {} drives per set.",