diff options
| author | chrislu <chris.lu@gmail.com> | 2023-10-01 11:33:56 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-10-01 11:33:56 -0700 |
| commit | b02fdeabff4861a4fb1913de7c3104b511757da5 (patch) | |
| tree | 5ddf12ed120081bf9b9834c5be12a0b2f41c07c4 /weed/command/filer_remote_sync.go | |
| parent | ebd6f96d35b54adcf67f0353bff944a36a5c5f32 (diff) | |
| download | seaweedfs-b02fdeabff4861a4fb1913de7c3104b511757da5.tar.xz seaweedfs-b02fdeabff4861a4fb1913de7c3104b511757da5.zip | |
RetryForever => RetryUntil
Diffstat (limited to 'weed/command/filer_remote_sync.go')
| -rw-r--r-- | weed/command/filer_remote_sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index 261e024a6..2d6133367 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -90,7 +90,7 @@ func runFilerRemoteSynchronize(cmd *Command, args []string) bool { if dir != "" { fmt.Printf("synchronize %s to remote storage...\n", dir) - util.RetryForever("filer.remote.sync "+dir, func() error { + util.RetryUntil("filer.remote.sync "+dir, func() error { return followUpdatesAndUploadToRemote(&remoteSyncOptions, filerSource, dir) }, func(err error) bool { if err != nil { |
