Closed arborite-rh closed 3 months ago
Reviews in this chain: └https://github.com/quay/quay-bridge-operator/pull/111 fix: nil check http response when err is not nil (PROJQUAY-6620) └https://github.com/quay/quay-bridge-operator/pull/112 chore: remove reflection zero type when zero value is known └https://github.com/quay/quay-bridge-operator/pull/113 chore: upgrade go.mod to 1.20 (matches Dockerfile builder) + ioutil deprecation └https://github.com/quay/quay-bridge-operator/pull/114 fix: lint and clean up quay types └https://github.com/quay/quay-bridge-operator/pull/115 test: unit test/mock quay client
/lgtm
@arborite-rh: you cannot LGTM your own PR.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: arborite-rh, dmage
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@dmage mind /lgtm this for me 😄 ?
/cherrypick redhat-3.12
@arborite-rh: new pull request could not be created: failed to create pull request against quay/quay-bridge-operator#redhat-3.12 from head openshift-cherrypick-robot:cherry-pick-111-to-redhat-3.12: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between quay:redhat-3.12 and openshift-cherrypick-robot:cherry-pick-111-to-redhat-3.12"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"}
/cherrypick redhat-3.11
@arborite-rh: new pull request created: #116
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 robryan@redhat.com