mirror of
https://github.com/coredns/coredns.git
synced 2025-11-12 23:12:17 -05:00
Fix start mesg for all protocol (#1617)
Recent bind refactoring missed this:
grpc://example.com.:1055
example.com.:1053 on 127.0.0.1
now becomes
grpc://example.com.:1055 on 127.0.0.1
example.com.:1053 on 127.0.0.1
If you're using *bind* directive.
This commit is contained in:
@@ -88,9 +88,11 @@ func (s *ServergRPC) OnStartupComplete() {
|
||||
return
|
||||
}
|
||||
|
||||
for zone, config := range s.zones {
|
||||
fmt.Println(TransportGRPC + "://" + zone + ":" + config.Port)
|
||||
out := startUpZones(TransportGRPC+"://", s.Addr, s.zones)
|
||||
if out != "" {
|
||||
fmt.Print(out)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Stop stops the server. It blocks until the server is
|
||||
|
||||
Reference in New Issue
Block a user