mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 00:38:16 +00:00
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:
@@ -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?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user