diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
| commit | 7ce97b59d828b3f6d7bcdab323209740280da3f3 (patch) | |
| tree | b4f50634e183c2bc8ba897baefbf3d62731bf9f8 /weed/command/filer_remote_sync.go | |
| parent | d1a4e19a3f0aeaabcf87aba3c99880f82bde87a3 (diff) | |
| download | seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.tar.xz seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.zip | |
go fmt
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 b751d30b6..fb88652c1 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -154,7 +154,7 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour os.Exit(0) } } - if message.NewEntry.Name == remoteStorage.Name + filer.REMOTE_STORAGE_CONF_SUFFIX { + if message.NewEntry.Name == remoteStorage.Name+filer.REMOTE_STORAGE_CONF_SUFFIX { conf := &remote_pb.RemoteConf{} if err := proto.Unmarshal(message.NewEntry.Content, conf); err != nil { return fmt.Errorf("unmarshal %s/%s: %v", filer.DirectoryEtcRemote, message.NewEntry.Name, err) |
