-
Notifications
You must be signed in to change notification settings - Fork 848
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
Config spec updates, more logging #26
Conversation
@@ -104,6 +104,15 @@ private void UpdateRuntimeBackends(DynamicConfigRoot config) | |||
currentBackendConfig.HealthCheckOptions.Port != newConfig.HealthCheckOptions.Port || | |||
currentBackendConfig.HealthCheckOptions.Path != newConfig.HealthCheckOptions.Path) | |||
{ | |||
if (currentBackendConfig == null) | |||
{ | |||
_logger.LogDebug("Backend {backendId} has been added.", configBackend.BackendId); |
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.
Just to confirm, the {} syntax without the $ is actually using an ASP.NET Core-specific scheme for naming the holes in the format?
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.
Right, logging will fill that in.
Incremental updates to the config spec.