diff --git a/weed/command/filer_remote_sync_dir.go b/weed/command/filer_remote_sync_dir.go index dd3e94be6..b79c0e4fc 100644 --- a/weed/command/filer_remote_sync_dir.go +++ b/weed/command/filer_remote_sync_dir.go @@ -278,7 +278,7 @@ func updateLocalEntry(filerClient filer_pb.FilerClient, dir string, entry *filer } func isMultipartUploadFile(dir string, name string) bool { - return isMultipartUploadDir(dir) && strings.HasSuffix(name, ".part") + return isMultipartUploadDir(dir) && strings.HasSuffix(name, ".part") } func isMultipartUploadDir(dir string) bool {