mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-12 08:06:54 +00:00
Fix type errors in ecfs.rs and apply clippy fixes for Rust 1.92.0 (#1121)
This commit is contained in:
@@ -1651,6 +1651,7 @@ pub fn get_concurrency_manager() -> &'static ConcurrencyManager {
|
||||
}
|
||||
|
||||
/// Testing helper to reset the global request counter.
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn reset_active_get_requests() {
|
||||
ACTIVE_GET_REQUESTS.store(0, Ordering::Relaxed);
|
||||
}
|
||||
|
||||
@@ -2460,7 +2460,7 @@ impl S3 for FS {
|
||||
.clone()
|
||||
.or_else(|| metadata_map.get("x-amz-storage-class").cloned())
|
||||
.filter(|s| !s.is_empty())
|
||||
.map(ObjectStorageClass::from);
|
||||
.map(StorageClass::from);
|
||||
|
||||
let mut checksum_crc32 = None;
|
||||
let mut checksum_crc32c = None;
|
||||
|
||||
Reference in New Issue
Block a user