mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 17:01:39 +02:00
Merge branch 'master' into bump-v1.8.1
This commit is contained in:
@@ -451,7 +451,7 @@ func (c *Controller) Run(stopCh <-chan struct{}, wg *sync.WaitGroup) {
|
||||
panic("could not acquire initial list of clusters")
|
||||
}
|
||||
|
||||
wg.Add(5)
|
||||
wg.Add(5 + util.Bool2Int(c.opConfig.EnablePostgresTeamCRD))
|
||||
go c.runPodInformer(stopCh, wg)
|
||||
go c.runPostgresqlInformer(stopCh, wg)
|
||||
go c.clusterResync(stopCh, wg)
|
||||
|
||||
@@ -225,7 +225,7 @@ func (c *Controller) processEvent(event ClusterEvent) {
|
||||
switch event.EventType {
|
||||
case EventAdd:
|
||||
if clusterFound {
|
||||
lg.Infof("recieved add event for already existing Postgres cluster")
|
||||
lg.Infof("received add event for already existing Postgres cluster")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user