aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_sync.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-07 01:34:32 -0700
committerchrislu <chris.lu@gmail.com>2022-08-07 01:34:32 -0700
commit67814a5c79078e0fd6ca226501b7e48cb2e0558f (patch)
tree73df37af06bf6b51e4305d38894ab73dd7aada00 /weed/command/filer_sync.go
parent1a4bf0dcb5852c62070fe9627b7e63c5d55bb460 (diff)
downloadseaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.tar.xz
seaweedfs-67814a5c79078e0fd6ca226501b7e48cb2e0558f.zip
refactor and fix strings.Split
Diffstat (limited to 'weed/command/filer_sync.go')
-rw-r--r--weed/command/filer_sync.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index 8eb68c098..af880ef03 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -143,7 +143,7 @@ func runFilerSynchronize(cmd *Command, args []string) bool {
grpcDialOption,
filerA,
*syncOptions.aPath,
- util.Split(*syncOptions.aExcludePaths, ","),
+ util.StringSplit(*syncOptions.aExcludePaths, ","),
*syncOptions.aProxyByFiler,
filerB,
*syncOptions.bPath,
@@ -179,7 +179,7 @@ func runFilerSynchronize(cmd *Command, args []string) bool {
grpcDialOption,
filerB,
*syncOptions.bPath,
- util.Split(*syncOptions.bExcludePaths, ","),
+ util.StringSplit(*syncOptions.bExcludePaths, ","),
*syncOptions.bProxyByFiler,
filerA,
*syncOptions.aPath,