Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nil check http response when err is not nil (PROJQUAY-6620) #111

Merged
merged 1 commit into from
Mar 6, 2024

Commits on Feb 28, 2024

  1. 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
    
    fix: addtl nil checking http responses
    
    chore: lint_controllers
    
    chore: lint quay client
    Signed-off-by: Ross Bryan <[email protected]>
    arborite-rh committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    c39e6d2 View commit details
    Browse the repository at this point in the history