From d821cb3b187a381a42da3fcbc2749c5e66077f1d Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:54:29 +0500 Subject: [PATCH] fix: sync without dir /buckets/some/.uploads/hash_hash (#5402) --- weed/command/filer_sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go index 292fb0956..9ad76e31b 100644 --- a/weed/command/filer_sync.go +++ b/weed/command/filer_sync.go @@ -394,7 +394,7 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str glog.V(0).Infof("received %v", resp) } - if isMultipartUploadDir(resp.Directory) { + if isMultipartUploadDir(resp.Directory + "/") { return nil }