diff options
| author | Ryan Russell <ryanrussell@users.noreply.github.com> | 2022-09-16 04:43:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 02:43:49 -0700 |
| commit | 824f7ad9e192c1999fdb5da3a9af8c112904cc66 (patch) | |
| tree | ed225295a530e83a11fee1b6f942d762ce25fd18 /weed/shell/command_remote_meta_sync.go | |
| parent | 277976bd762a108d6b6f7f96500a769c5454549d (diff) | |
| download | seaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.tar.xz seaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.zip | |
refactor(shell): readability improvements (#3704)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Diffstat (limited to 'weed/shell/command_remote_meta_sync.go')
| -rw-r--r-- | weed/shell/command_remote_meta_sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_meta_sync.go b/weed/shell/command_remote_meta_sync.go index ebd43c326..bc9075746 100644 --- a/weed/shell/command_remote_meta_sync.go +++ b/weed/shell/command_remote_meta_sync.go @@ -96,7 +96,7 @@ After caching the file content, the entry.RemoteEntry will be remoteEntry.LastLocalSyncTsNs == time.Now.UnixNano() Attributes.FileSize = uint64(remoteEntry.RemoteSize) Attributes.Mtime = remoteEntry.RemoteMtime - chunks = non-emtpy + chunks = non-empty When "weed filer.remote.sync" to upload local changes to remote, the criteria is: |
