mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 12:49:41 +08:00
weed/server: fix dropped webdav error
This commit is contained in:
parent
2b9dda7d2e
commit
5db82e594a
@ -568,6 +568,9 @@ func (f *WebDavFile) Readdir(count int) (ret []os.FileInfo, err error) {
|
||||
ret = append(ret, &fi)
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
old := f.off
|
||||
if old >= int64(len(ret)) {
|
||||
|
Loading…
Reference in New Issue
Block a user