Skip to content

fix: check if http.Response is nil before closing body#1011

Merged
craicoverflow merged 2 commits intomainfrom
check-if-body-exists
Sep 2, 2021
Merged

fix: check if http.Response is nil before closing body#1011
craicoverflow merged 2 commits intomainfrom
check-if-body-exists

Conversation

@craicoverflow
Copy link
Contributor

This follows up to the bug uncovered by @alexal in #1009 to ensure all http.Response are checked for nil before the body is closed.

Verification Steps

Run through the commands to create kafka, service-account etc.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation change
  • Other (please specify)

Checklist

  • Documentation added for the feature
  • CI and all relevant tests are passing
  • Code Review completed
  • Verified independently by reviewer

@craicoverflow craicoverflow merged commit bae1e8b into main Sep 2, 2021
@craicoverflow craicoverflow deleted the check-if-body-exists branch September 2, 2021 08:44
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.

2 participants