fix: auto-repair breaking changes from 1b3727e2 (#4324)

fix(heal): remove useless .into() conversion in heal error path

Clippy flagged a useless_conversion lint at heal.rs:491 where
 is redundant because  is already of type .
This commit is contained in:
Zhengchao An
2026-07-06 23:14:14 +08:00
committed by GitHub
parent 92596da7fa
commit 6297d112c3
+1 -1
View File
@@ -488,7 +488,7 @@ impl SetDisks {
// Don't leak the partially-written healed shards in
// .rustfs/tmp when heal fails midway (backlog#799 B20).
let _ = self.delete_all(RUSTFS_META_TMP_BUCKET, &tmp_id).await;
return Err(e.into());
return Err(e);
}
// close_bitrot_writers(&mut writers).await?;