diff --git a/ecstore/src/client/constants.rs b/ecstore/src/client/constants.rs index 2db844416..181c5e0a5 100644 --- a/ecstore/src/client/constants.rs +++ b/ecstore/src/client/constants.rs @@ -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"; diff --git a/rustfs/src/admin/handlers/user.rs b/rustfs/src/admin/handlers/user.rs index 97bd7dafc..bb164bbd8 100644 --- a/rustfs/src/admin/handlers/user.rs +++ b/rustfs/src/admin/handlers/user.rs @@ -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, diff --git a/rustfs/src/main.rs b/rustfs/src/main.rs index 46ae96563..770554b16 100644 --- a/rustfs/src/main.rs +++ b/rustfs/src/main.rs @@ -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.",