diff options
| author | Chris Lu <chris.lu@uber.com> | 2019-03-28 00:38:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2019-03-28 00:38:30 -0700 |
| commit | 07775998a9af92e87f02da058c7cc47c3965ed95 (patch) | |
| tree | 480f4d79936bf6ae934897f317bc33e2cb0dd89e /weed/shell/command_fs_tree.go | |
| parent | 53b81fcfcd26965262947423102e0d3f60a960b6 (diff) | |
| download | seaweedfs-07775998a9af92e87f02da058c7cc47c3965ed95.tar.xz seaweedfs-07775998a9af92e87f02da058c7cc47c3965ed95.zip | |
some comments
Diffstat (limited to 'weed/shell/command_fs_tree.go')
| -rw-r--r-- | weed/shell/command_fs_tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_tree.go b/weed/shell/command_fs_tree.go index 1f0f2935f..019616627 100644 --- a/weed/shell/command_fs_tree.go +++ b/weed/shell/command_fs_tree.go @@ -76,7 +76,7 @@ func treeTraverseDirectory(ctx context.Context, writer io.Writer, client filer_p } for i, entry := range resp.Entries { - + // 0.1% wrong prefix here, but fixing it would need to paginate to the next batch first isLast := paginatedCount < paginateSize && i == paginatedCount-1 fmt.Fprintf(writer, "%s%s\n", prefix.getPrefix(level, isLast), entry.Name) |
