mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-30 22:58:32 +08:00
delete operation does not need this checking
This commit is contained in:
parent
cdae9fc680
commit
a57162e8bf
@ -87,9 +87,6 @@ func Delete(url string, jwt security.EncodedJwt) error {
|
||||
return e
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
if resp.StatusCode >= 400 {
|
||||
return fmt.Errorf("%s: %s", url, resp.Status)
|
||||
}
|
||||
body, err := ioutil.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user