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

conformance.test01Pull: Check client errors before using response object #356

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

bmoylan
Copy link
Contributor

@bmoylan bmoylan commented Oct 13, 2022

Previously, if the client.Do returned an (ignored) error and nil response, the subsequent usages of resp panic.

Signed-off-by: Brad Moylan bmoylan@palantir.com

Previously, if the client.Do returned an (ignored) error and nil response, the subsequent usages of `resp` panic.

Signed-off-by: Brad Moylan <bmoylan@palantir.com>
@jdolitsky jdolitsky merged commit f72e501 into opencontainers:main Oct 17, 2022
@bmoylan bmoylan deleted the bm/check-pull-errors branch October 17, 2022 16:00
@jdolitsky jdolitsky mentioned this pull request Apr 19, 2023
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 1, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants