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

RHCLOUD-36959 | fix: the API client panics sometimes with an empty body #114

Conversation

MikelAlejoBR
Copy link
Member

Apparently a declared and nil buffer still counts as a body for the requests package, which caused panics locally. The issue was that the requests package was trying to read the buffer anyway.

Jira ticket

[RHCLOUD-36959]

Apparently a declared and nil buffer still counts as a body for the
requests package, which caused panics locally. The issue was that the
requests package was trying to read the buffer anyway.

RHCLOUD-36959
@MikelAlejoBR MikelAlejoBR merged commit 7232555 into RedHatInsights:master Jan 16, 2025
11 of 13 checks passed
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.

1 participant