mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-11-30 02:07:45 +08:00
bugfix remove file for migrate file
This commit is contained in:
parent
b7959f7da0
commit
9b8871c2c1
@ -1803,7 +1803,7 @@ func (this *Server) RemoveFile(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write([]byte(this.util.JsonEncodePretty(result)))
|
||||
return
|
||||
}
|
||||
if fileInfo.OffSet != -1 {
|
||||
if fileInfo.OffSet >= 0 {
|
||||
result.Message = "small file delete not support"
|
||||
w.Write([]byte(this.util.JsonEncodePretty(result)))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user