mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 18:28:06 +02:00
Perform manual failover during the scale down
This commit is contained in:
@@ -45,10 +45,6 @@ func (c *Controller) dispatchPodEvent(clusterName spec.NamespacedName, event spe
|
||||
cluster, ok := c.clusters[clusterName]
|
||||
c.clustersMu.RUnlock()
|
||||
if ok {
|
||||
c.logger.WithField("cluster-name", clusterName).
|
||||
Debugf("sending %q event of pod %q to the cluster channel",
|
||||
event.EventType,
|
||||
event.PodName)
|
||||
cluster.ReceivePodEvent(event)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user