Skip to content

Commit 1b663b6

Browse files
committed
Revert API serever run location
1 parent ec3bee9 commit 1b663b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/controller/controller.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,14 +455,13 @@ func (c *Controller) Run(stopCh <-chan struct{}, wg *sync.WaitGroup) {
455455
go c.runPodInformer(stopCh, wg)
456456
go c.runPostgresqlInformer(stopCh, wg)
457457
go c.clusterResync(stopCh, wg)
458+
go c.apiserver.Run(stopCh, wg)
458459
go c.kubeNodesInformer(stopCh, wg)
459460

460461
if c.opConfig.EnablePostgresTeamCRD {
461462
go c.runPostgresTeamInformer(stopCh, wg)
462463
}
463464

464-
go c.apiserver.Run(stopCh, wg)
465-
466465
c.logger.Info("started working in background")
467466
}
468467

0 commit comments

Comments
 (0)