Skip to content

Commit 06f4fb2

Browse files
committed
testing LocalDirRemoteFs fix
1 parent a5548f8 commit 06f4fb2

File tree

1 file changed

+1
-7
lines changed
  • rust/cubestore/cubestore/src/remotefs

1 file changed

+1
-7
lines changed

rust/cubestore/cubestore/src/remotefs/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,7 @@ impl RemoteFs for LocalDirRemoteFs {
264264
})?;
265265
fs::remove_file(&temp_upload_path)
266266
.await
267-
.map_err(|e| {
268-
CubeError::internal(format!(
269-
"Remove {}: {}",
270-
temp_upload_path,
271-
e
272-
))
273-
})?;
267+
.map_err(|e| CubeError::internal(format!("Remove {temp_upload_path}: {e}")))?;
274268
}
275269
Ok(fs::metadata(local_path).await?.len())
276270
}

0 commit comments

Comments
 (0)