mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 22:24:46 +08:00
weed shell: fs.tree fix directory tree listing
This commit is contained in:
@@ -77,7 +77,7 @@ func treeTraverseDirectory(ctx context.Context, writer io.Writer, client filer_p
|
||||
|
||||
for i, entry := range resp.Entries {
|
||||
|
||||
if level < 0 {
|
||||
if level < 0 && name != "" {
|
||||
if entry.Name != name {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user