Integrate spilo with Patroni 4 (#2818)
This commit is contained in:
parent
c206eb38a8
commit
fc9a26040a
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue