Skip to content

Commit 868fba3

Browse files
committed
testing LocalDirRemoteFs fix
1 parent c34bd69 commit 868fba3

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ impl RemoteFs for LocalDirRemoteFs {
252252
e
253253
))
254254
})?;
255-
fs::rename(&temp_upload_path, local_path.clone())
255+
fs::copy(&temp_upload_path, local_path.clone())
256256
.await
257257
.map_err(|e| {
258258
CubeError::internal(format!(

0 commit comments

Comments
 (0)