Skip to content

Commit

Permalink
fix: ci finding, because i can
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Mar 19, 2024
1 parent d708d72 commit 836d3ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vela/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ func (c *Client) Do(req *http.Request, respType interface{}) (*Response, error)
// ensure response body is not empty so the user may inspect
// it further for debugging and troubleshooting
resp.Body = io.NopCloser(bytes.NewBuffer(body))

if err != nil {
// if error is present, we still return the response so the caller
// may inspect it further for debugging and troubleshooting
Expand Down

0 comments on commit 836d3ce

Please sign in to comment.