-
Notifications
You must be signed in to change notification settings - Fork 23
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-6620 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]> fix: addtl nil checking http responses (PROJQUAY-6620) chore: lint_controllers (PROJQUAY-6620) chore: lint quay client (PROJQUAY-6620) Signed-off-by: Ross Bryan <[email protected]>
- Loading branch information
1 parent
2f224ad
commit d0f1208
Showing
4 changed files
with
50 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.