Browse Source

webdav: fix writing file

fix https://github.com/chrislusf/seaweedfs/issues/1114
pull/1153/head
Chris Lu 5 years ago
parent
commit
e2a8cdfc48
  1. 2
      weed/server/webdav_server.go

2
weed/server/webdav_server.go

@ -444,7 +444,7 @@ func (f *WebDavFile) Write(buf []byte) (int, error) {
return nil
})
if err != nil {
if err == nil {
glog.V(3).Infof("WebDavFileSystem.Write %v: written [%d,%d)", f.name, f.off, f.off+int64(len(buf)))
f.off += int64(len(buf))
}

Loading…
Cancel
Save