mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:30:18 +02:00
Integrate spilo with Patroni 4 (#2818)
This commit is contained in:
@@ -155,7 +155,7 @@ func (c *Cluster) majorVersionUpgrade() error {
|
||||
c.logger.Infof("identified non running pod, potentially skipping major version upgrade")
|
||||
}
|
||||
|
||||
if ps.Role == "master" {
|
||||
if ps.Role == "master" || ps.Role == "primary" {
|
||||
masterPod = &pods[i]
|
||||
c.currentMajorVersion = ps.ServerVersion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user