mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 23:30:36 +08:00
filer.sync: fix when excluded paths is empty
This commit is contained in:
@@ -143,7 +143,7 @@ func runFilerSynchronize(cmd *Command, args []string) bool {
|
||||
grpcDialOption,
|
||||
filerA,
|
||||
*syncOptions.aPath,
|
||||
strings.Split(*syncOptions.aExcludePaths, ","),
|
||||
util.Split(*syncOptions.aExcludePaths, ","),
|
||||
*syncOptions.aProxyByFiler,
|
||||
filerB,
|
||||
*syncOptions.bPath,
|
||||
@@ -179,7 +179,7 @@ func runFilerSynchronize(cmd *Command, args []string) bool {
|
||||
grpcDialOption,
|
||||
filerB,
|
||||
*syncOptions.bPath,
|
||||
strings.Split(*syncOptions.bExcludePaths, ","),
|
||||
util.Split(*syncOptions.bExcludePaths, ","),
|
||||
*syncOptions.bProxyByFiler,
|
||||
filerA,
|
||||
*syncOptions.aPath,
|
||||
|
Reference in New Issue
Block a user