mirror of https://github.com/grpc/grpc-go.git
removing unused code (#8316)
This commit is contained in:
parent
af5146b696
commit
5c0d552444
|
|
@ -92,12 +92,7 @@ func newControlChannel(rlsServerName, serviceConfig string, rpcTimeout time.Dura
|
|||
ctrlCh.cc.Connect()
|
||||
ctrlCh.client = rlsgrpc.NewRouteLookupServiceClient(ctrlCh.cc)
|
||||
ctrlCh.logger.Infof("Control channel created to RLS server at: %v", rlsServerName)
|
||||
start := make(chan struct{})
|
||||
go func() {
|
||||
close(start)
|
||||
ctrlCh.monitorConnectivityState()
|
||||
}()
|
||||
<-start
|
||||
go ctrlCh.monitorConnectivityState()
|
||||
return ctrlCh, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue