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

fix: use apiHost value to create http client in event pipeline #79

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

mfurak
Copy link
Contributor

@mfurak mfurak commented Dec 1, 2023

Make sure the apiHost argument is used when creating the HTTP Client.

Discussion topic: Is there any purpose to having internal string ApiHost { get; set; } at all? The code in SegmentDestination.cs is updating the value but it will not have any effect since the HTTP client has already been created with the initial apiHost value.

@wenxi-zeng
Copy link
Contributor

hey @mfurak, that's a good catch! thanks for this pr

@wenxi-zeng wenxi-zeng merged commit 16bf210 into segmentio:main Dec 1, 2023
4 checks passed
@mfurak mfurak deleted the fix-event-pipeline-apihost branch December 1, 2023 19:55
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