Trim root zone indicator from server address (#97)

This commit is contained in:
Geoff Bourne
2022-07-11 23:16:15 -05:00
committed by GitHub
parent 1a873cb58a
commit bc97b0ecbf
6 changed files with 29 additions and 595 deletions
+4 -1
View File
@@ -177,7 +177,10 @@ func (c *connectorImpl) findAndConnectBackend(ctx context.Context, frontendConn
}
if backendHostPort == "" {
logrus.WithField("serverAddress", serverAddress).Warn("Unable to find registered backend")
logrus.
WithField("serverAddress", serverAddress).
WithField("resolvedHost", resolvedHost).
Warn("Unable to find registered backend")
c.metrics.Errors.With("type", "missing_backend").Add(1)
return
}