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

Bug fix in TelemetryConfiguration + ConnectionStrings #1230

Merged
merged 5 commits into from
Oct 9, 2019

Conversation

TimothyMothra
Copy link
Member

@TimothyMothra TimothyMothra commented Oct 1, 2019

Related to #1221

The Cause
Channels previously held a default endpoint value.
I changed that to read from the TelemetryConfiguration.EndpointContainer.
EndpointContainer now holds the default values unless overwritten by setting a ConnectionString.
In this example, No ConnectionString is in use and the Channel holds a custom Endpoint.
This custom Endpoint is being overwritten by the TelemetryConfiguration.EndpointContainer which is an error.

The fix
I introduced a force parameter.
If a Channel has had it's endpoint set before adding to the Configuration, it will not be overwritten.
However, anytime the ConnectionString is set, the Channel will always be overwritten.

@TimothyMothra TimothyMothra added this to the 2.12 milestone Oct 1, 2019
@TimothyMothra TimothyMothra marked this pull request as ready for review October 8, 2019 20:09
@TimothyMothra TimothyMothra changed the title [WIP] config bug Bug fix in TelemetryConfiguration + ConnectionStrings Oct 8, 2019
@TimothyMothra TimothyMothra merged commit b3d0c6d into develop Oct 9, 2019
@TimothyMothra TimothyMothra deleted the tilee/config_bug branch October 9, 2019 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants