Skip to content

Conversation

theckman
Copy link
Collaborator

This fixes a panic that would occur if we attempted to duplicate a request that
has a nil Body, which would be any GET request. This also adds a regression
test.

This fixes a panic that would occur if we attempted to duplicate a request that
has a nil Body, which would be any `GET` request. This also adds a regression
test.
@theckman theckman added this to the v1.6.0 milestone Apr 23, 2022
@theckman theckman requested a review from stmcallister April 23, 2022 22:58
@theckman
Copy link
Collaborator Author

@stmcallister the build looks to have passed, but I don't see the status being reflected here. 🤔 https://app.circleci.com/pipelines/github/PagerDuty/go-pagerduty?branch=fix_captured_request_panic&filter=all

Copy link

@stmcallister stmcallister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! And, thank you for adding the test! 👍

@stmcallister stmcallister merged commit f756ba1 into master Aug 25, 2022
@ChuckCrawford ChuckCrawford deleted the fix_captured_request_panic branch September 21, 2022 14: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