aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync_dir.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-01-18 09:17:08 -0800
committerchrislu <chris.lu@gmail.com>2024-01-18 09:17:08 -0800
commit5c90b27b0a1b49108053acc8c77c4ba9c54ad401 (patch)
treecf9ed487c1cb248c3271ec36ba544f91d218fa2b /weed/command/filer_remote_sync_dir.go
parent83e4b0251710b23121ed44b0f8741f150231a68a (diff)
downloadseaweedfs-5c90b27b0a1b49108053acc8c77c4ba9c54ad401.tar.xz
seaweedfs-5c90b27b0a1b49108053acc8c77c4ba9c54ad401.zip
go fmt
Diffstat (limited to 'weed/command/filer_remote_sync_dir.go')
-rw-r--r--weed/command/filer_remote_sync_dir.go2
1 files changed, 1 insertions, 1 deletions
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 {