diff options
| author | Chris Lu <chris.lu@uber.com> | 2019-03-30 23:09:16 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2019-03-30 23:09:16 -0700 |
| commit | 78ac2bef3cf5083d9e79e5d1a4e6557a097a26ef (patch) | |
| tree | cdd85bee7ac24af60b9813aaac5858b1e0fecbca /weed/shell/command_fs_ls.go | |
| parent | 97406333a5ecc5b0d2cdaa74ff9901e3100e4bf2 (diff) | |
| download | seaweedfs-78ac2bef3cf5083d9e79e5d1a4e6557a097a26ef.tar.xz seaweedfs-78ac2bef3cf5083d9e79e5d1a4e6557a097a26ef.zip | |
go fmt
Diffstat (limited to 'weed/shell/command_fs_ls.go')
| -rw-r--r-- | weed/shell/command_fs_ls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.go index 39f356916..b94f24694 100644 --- a/weed/shell/command_fs_ls.go +++ b/weed/shell/command_fs_ls.go @@ -54,7 +54,7 @@ func (c *commandFsLs) Do(args []string, commandEnv *commandEnv, writer io.Writer if path == "/" { dir, name = "/", "" } else { - dir, name = path[0 : len(path)-1], "" + dir, name = path[0:len(path)-1], "" } } |
