diff --git a/client/client.go b/client/client.go index 0da9217d1..caeab41fd 100644 --- a/client/client.go +++ b/client/client.go @@ -232,7 +232,7 @@ func (c *Client) Do(ctx context.Context, req *http.Request, v interface{}) error // CheckResponse checks errors if exist errors in request func CheckResponse(r *http.Response) error { - if c := r.StatusCode; c >= 200 && c <= 299 && r.Request.Method == http.MethodDelete { + if c := r.StatusCode; c >= 200 && c <= 299 { return nil }