mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
mute log filer: no entry is found in filer store (#3707)
This commit is contained in:
parent
824f7ad9e1
commit
5d87ad72d8
|
@ -195,6 +195,8 @@ func (fs *FilerServer) DeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
httpStatus := http.StatusInternalServerError
|
httpStatus := http.StatusInternalServerError
|
||||||
if err == filer_pb.ErrNotFound {
|
if err == filer_pb.ErrNotFound {
|
||||||
httpStatus = http.StatusNoContent
|
httpStatus = http.StatusNoContent
|
||||||
|
writeJsonQuiet(w, r, httpStatus, nil)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
writeJsonError(w, r, httpStatus, err)
|
writeJsonError(w, r, httpStatus, err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue