diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-15 19:27:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-15 19:27:30 -0700 |
| commit | c45c12aedc68c167beb7104be30ce4bbdf5202a7 (patch) | |
| tree | 00edd41e3c62d19214ab2c395e95daaf722c47a2 /weed/command/filer_remote_sync.go | |
| parent | 507411bdf04486d229934db70642d0adb96ca89d (diff) | |
| download | seaweedfs-c45c12aedc68c167beb7104be30ce4bbdf5202a7.tar.xz seaweedfs-c45c12aedc68c167beb7104be30ce4bbdf5202a7.zip | |
metadata updates
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 41b9c67e8..bfd266c5f 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -174,7 +174,7 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour if resp.Directory == message.NewParentPath && message.OldEntry.Name == message.NewEntry.Name { if isSameChunks(message.OldEntry.Chunks, message.NewEntry.Chunks) { fmt.Printf("update meta: %+v\n", resp) - return client.UpdateFileMetadata(dest, message.NewEntry) + return client.UpdateFileMetadata(dest, message.OldEntry, message.NewEntry) } } fmt.Printf("update: %+v\n", resp) |
