diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-02-26 16:52:57 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-02-26 16:52:57 -0800 |
| commit | ed0acd17227ce4561ff6a2c77564de0bd8062c56 (patch) | |
| tree | 6ae690ced9ca15a25f6d77e35cac872e2f189ef2 /weed/shell | |
| parent | 37a3628b2e9dbd5149060f8688b34182b2d66f6c (diff) | |
| download | seaweedfs-ed0acd17227ce4561ff6a2c77564de0bd8062c56.tar.xz seaweedfs-ed0acd17227ce4561ff6a2c77564de0bd8062c56.zip | |
go fmt
Diffstat (limited to 'weed/shell')
| -rw-r--r-- | weed/shell/command_fs_mv.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_mv.go b/weed/shell/command_fs_mv.go index 78f797f6c..9b74e85e9 100644 --- a/weed/shell/command_fs_mv.go +++ b/weed/shell/command_fs_mv.go @@ -63,7 +63,7 @@ func (c *commandFsMv) Do(args []string, commandEnv *CommandEnv, writer io.Writer var targetDir, targetName string // moving a file or folder - if err == nil && respDestinationLookupEntry.Entry!= nil && respDestinationLookupEntry.Entry.IsDirectory { + if err == nil && respDestinationLookupEntry.Entry != nil && respDestinationLookupEntry.Entry.IsDirectory { // to a directory targetDir = filepath.ToSlash(filepath.Join(destinationDir, destinationName)) targetName = sourceName |
