Use DNS monitor from static GRPC clients configuration.

This commit is contained in:
Joachim Bauch 2023-12-22 22:41:00 +01:00
commit b1c78f6e9d
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02
7 changed files with 147 additions and 178 deletions

View file

@ -183,7 +183,7 @@ func main() {
}()
defer rpcServer.Close()
rpcClients, err := signaling.NewGrpcClients(config, etcdClient)
rpcClients, err := signaling.NewGrpcClients(config, etcdClient, dnsMonitor)
if err != nil {
log.Fatalf("Could not create RPC clients: %s", err)
}