aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_sync.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-31 23:26:26 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-31 23:26:26 -0700
commit68ea99190f37e6a2934dd921cea7180c69380914 (patch)
tree6a859d4674f58447a943974d4ba8f72ff7a733ab /weed/command/filer_sync.go
parent43fd11278ef811856551904b531bcc91821d0c9f (diff)
downloadseaweedfs-68ea99190f37e6a2934dd921cea7180c69380914.tar.xz
seaweedfs-68ea99190f37e6a2934dd921cea7180c69380914.zip
add additionalPathPrefixes
Diffstat (limited to 'weed/command/filer_sync.go')
-rw-r--r--weed/command/filer_sync.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index 5440811dd..4ebb87f71 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -170,8 +170,7 @@ func doSubscribeFilerMetaChanges(grpcDialOption grpc.DialOption, sourceFiler, so
return setOffset(grpcDialOption, targetFiler, SyncKeyPrefix, sourceFilerSignature, lastTsNs)
})
- return pb.FollowMetadata(sourceFiler, grpcDialOption, "syncTo_"+targetFiler,
- sourcePath, sourceFilerOffsetTsNs, targetFilerSignature, processEventFnWithOffset, false)
+ return pb.FollowMetadata(sourceFiler, grpcDialOption, "syncTo_"+targetFiler, sourcePath, nil, sourceFilerOffsetTsNs, targetFilerSignature, processEventFnWithOffset, false)
}