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

[CSGI-2365] Add client User Agent overwrite capability #503

Merged

Conversation

imjaroiswebdev
Copy link
Contributor

Test cases introduced...

$ go test -count=1 -v -run TestClient_UserAgent
=== RUN   TestClient_UserAgentDefault
--- PASS: TestClient_UserAgentDefault (0.00s)
=== RUN   TestClient_UserAgentOverwrite
--- PASS: TestClient_UserAgentOverwrite (0.00s)
PASS
ok      github.com/PagerDuty/go-pagerduty       0.667s

client.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@ChuckCrawford ChuckCrawford left a comment

Choose a reason for hiding this comment

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

See the inline comments.

client.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@ChuckCrawford ChuckCrawford left a comment

Choose a reason for hiding this comment

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

Consider updating the few remaining nits but i'll go ahead and approve to keep this unblocked.

@ChuckCrawford ChuckCrawford merged commit e5fc19b into PagerDuty:main Dec 15, 2023
1 check passed
@ChuckCrawford ChuckCrawford added this to the v1.8.0 milestone Dec 15, 2023
@imjaroiswebdev imjaroiswebdev deleted the user-agent-overwrite-support branch December 18, 2023 16:46
gringus pushed a commit to gringus/go-pagerduty that referenced this pull request Jan 26, 2024
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