Skip to content

Commit

Permalink
Revert "fix: implement the fix that resolve the 205 miss-handling"
Browse files Browse the repository at this point in the history
This reverts commit 17b8084.
  • Loading branch information
nobe4 committed May 19, 2024
1 parent d754f9e commit 25db6b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/api/rest_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ func (c *RESTClient) DoWithContext(ctx context.Context, method string, path stri
if resp.StatusCode == http.StatusNoContent {
return nil
}

if resp.StatusCode == http.StatusResetContent {
return nil
}

defer resp.Body.Close()

b, err := io.ReadAll(resp.Body)
Expand Down

0 comments on commit 25db6b9

Please sign in to comment.