Skip to content

Commit 25db6b9

Browse files
committed
Revert "fix: implement the fix that resolve the 205 miss-handling"
This reverts commit 17b8084.
1 parent d754f9e commit 25db6b9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/api/rest_client.go

-5
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ func (c *RESTClient) DoWithContext(ctx context.Context, method string, path stri
9898
if resp.StatusCode == http.StatusNoContent {
9999
return nil
100100
}
101-
102-
if resp.StatusCode == http.StatusResetContent {
103-
return nil
104-
}
105-
106101
defer resp.Body.Close()
107102

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

0 commit comments

Comments
 (0)