Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nil check http response when err is not nil (PROJQUAY-6620)
Topic: projquay-6507 The operator was panicking due to the httpResponse being nil and attempting to return the httpResponse.StatusCode in the response; the response was most likely nil due to a prior error when attempting to marshal json and build the http request itself. This now allows the error to be propagated out to the logs instead of causing the operator to panic Signed-off-by: Ross Bryan <[email protected]>
- Loading branch information