HCFS: bug fix for listEntries

fix https://github.com/chrislusf/seaweedfs/issues/797
This commit is contained in:
Chris Lu
2018-12-18 20:22:51 -08:00
parent e716ec9908
commit 2c72447078
2 changed files with 9 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ public class FilerClient {
limit -= nSize;
lastFileName = t.get(nSize - 1).getName();
}
results.addAll(t);
if (t.size() < 1024) {
break;
}