mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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)
|
ret = append(ret, &fi)
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
old := f.off
|
old := f.off
|
||||||
if old >= int64(len(ret)) {
|
if old >= int64(len(ret)) {
|
||||||
|
|
Loading…
Reference in a new issue