mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 18:23:03 +02:00
reflect code review
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user