mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-31 09:20:50 +01:00
fix on pagination
This commit is contained in:
1 parent
58954bf46f
commit
c7a71d35b0
1 file changed
+4
@@ -44,6 +44,10 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
|
||||
path = ""
|
||||
}
|
||||
|
||||
if len(entries) > 0 {
|
||||
lastFileName = entries[len(entries)-1].Name()
|
||||
}
|
||||
|
||||
args := struct {
|
||||
Path string
|
||||
Entries interface{}
|
||||
|
||||
Reference in new issue
Block a user