mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-28 17:18:58 +00:00
fix: clippy
This commit is contained in:
@@ -27,4 +27,3 @@ pub const ISO8601_DATEFORMAT: &[FormatItem<'_>] =
|
||||
|
||||
pub const GET_OBJECT_ATTRIBUTES_TAGS: &str = "ETag,Checksum,StorageClass,ObjectSize,ObjectParts";
|
||||
pub const GET_OBJECT_ATTRIBUTES_MAX_PARTS: i64 = 1000;
|
||||
const _RUSTFS_BUCKET_SOURCE_MTIME: &str = "X-RustFs-Source-Mtime";
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user