-
Notifications
You must be signed in to change notification settings - Fork 757
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
Expose AddTcpEndpointProbe #4892
Conversation
src/Libraries/Microsoft.Extensions.Diagnostics.Probes/TcpEndpointHealthCheckExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, but let's rename the types and files please:
TcpEndpointProbesExtensions
TcpEndpointProbesService
TcpEndpointProbesOptions
TcpEndpointProbesOptionsValidator
The origin of this code had a different naming convention and use case. When we ported the code to dotnet/extensions, we only bothered renaming the public symbols. But now that you're making private stuff public, those should be renamed as well.
I renamed all the files and types as requested. |
src/Libraries/Microsoft.Extensions.Diagnostics.Probes/TcpEndpointProbesExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pitching in!
Fixes #4879.
Microsoft Reviewers: Open in CodeFlow