mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 16:48:47 +02:00
test on spilo new image with patroni v4
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