mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-03 23:56:41 +02:00
weed shell: fs.tree fix directory tree listing
This commit is contained in:
parent
24c020104a
commit
b2d92a2992
|
@ -77,7 +77,7 @@ func treeTraverseDirectory(ctx context.Context, writer io.Writer, client filer_p
|
||||||
|
|
||||||
for i, entry := range resp.Entries {
|
for i, entry := range resp.Entries {
|
||||||
|
|
||||||
if level < 0 {
|
if level < 0 && name != "" {
|
||||||
if entry.Name != name {
|
if entry.Name != name {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue