reflect code review

This commit is contained in:
Felix Kunde
2022-05-17 17:22:55 +02:00
parent 264e66d0a1
commit fcb74e9050
4 changed files with 10 additions and 8 deletions
+1 -2
View File
@@ -455,14 +455,13 @@ func (c *Controller) Run(stopCh <-chan struct{}, wg *sync.WaitGroup) {
go c.runPodInformer(stopCh, wg)
go c.runPostgresqlInformer(stopCh, wg)
go c.clusterResync(stopCh, wg)
go c.apiserver.Run(stopCh, wg)
go c.kubeNodesInformer(stopCh, wg)
if c.opConfig.EnablePostgresTeamCRD {
go c.runPostgresTeamInformer(stopCh, wg)
}
go c.apiserver.Run(stopCh, wg)
c.logger.Info("started working in background")
}