removing unused code (#8316)

This commit is contained in:
eshitachandwani 2025-05-14 21:41:45 +05:30 committed by GitHub
parent af5146b696
commit 5c0d552444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -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
}