test on spilo new image with patroni v4

This commit is contained in:
idanovinda
2024-11-19 14:29:29 +01:00
parent c206eb38a8
commit ce67ee1bca
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
}