aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-31 23:30:28 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-31 23:30:28 -0700
commit8e125339d51adb290ed985a4a5deb5dd223a3fdd (patch)
tree462d5952bcdd6b77445a3e7dbe2c98db9765db0a /weed/command/filer_remote_sync.go
parent68ea99190f37e6a2934dd921cea7180c69380914 (diff)
downloadseaweedfs-8e125339d51adb290ed985a4a5deb5dd223a3fdd.tar.xz
seaweedfs-8e125339d51adb290ed985a4a5deb5dd223a3fdd.zip
line wrap
Diffstat (limited to 'weed/command/filer_remote_sync.go')
-rw-r--r--weed/command/filer_remote_sync.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go
index fd6ed23b9..43dc86f33 100644
--- a/weed/command/filer_remote_sync.go
+++ b/weed/command/filer_remote_sync.go
@@ -210,7 +210,8 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour
return setOffset(option.grpcDialOption, *option.filerAddress, RemoteSyncKeyPrefix, int32(dirHash), lastTsNs)
})
- return pb.FollowMetadata(*option.filerAddress, option.grpcDialOption, "filer.remote.sync", mountedDir, nil, lastOffsetTs.UnixNano(), 0, processEventFnWithOffset, false)
+ return pb.FollowMetadata(*option.filerAddress, option.grpcDialOption, "filer.remote.sync",
+ mountedDir, nil, lastOffsetTs.UnixNano(), 0, processEventFnWithOffset, false)
}
func toRemoteStorageLocation(mountDir, sourcePath util.FullPath, remoteMountLocation *remote_pb.RemoteStorageLocation) *remote_pb.RemoteStorageLocation {