Skip to content
Snippets Groups Projects
Unverified Commit fc9a2604 authored by Ida Novindasari's avatar Ida Novindasari Committed by GitHub
Browse files

Integrate spilo with Patroni 4 (#2818)

parent c206eb38
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment