This commit is contained in:
weisd
2025-07-01 13:05:33 +08:00
parent 18a3902d2c
commit ddf19b3444
5 changed files with 8 additions and 7 deletions
-1
View File
@@ -1136,7 +1136,6 @@ impl FromStr for ReplicationAction {
// }
// }
// 忽略大小写比较字符串列表
// fn equals(k1: &str, keys: &[&str]) -> bool {
// keys.iter().any(|&k2| k1.eq_ignore_ascii_case(k2))
+4 -1
View File
@@ -759,7 +759,10 @@ impl ScannerItem {
let replication = match metadata_sys::get_replication_config(&oi.bucket).await {
Ok((replication, _)) => replication,
Err(_) => {
error!("heal_replication: failed to get replication config for bucket: {} and object name: {}", oi.bucket, oi.name);
error!(
"heal_replication: failed to get replication config for bucket: {} and object name: {}",
oi.bucket, oi.name
);
return;
}
};