mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 01:24:58 +02:00
Update pkg/cluster/pod.go
This commit is contained in:
+1
-1
@@ -523,7 +523,7 @@ func (c *Cluster) getSwitchoverCandidate(master *v1.Pod) (spec.NamespacedName, e
|
||||
}
|
||||
|
||||
if len(skipReasons) > 0 {
|
||||
err = fmt.Errorf("no replica suitable for switchover: %s", strings.Join(skipReasons, `','`))
|
||||
err = fmt.Errorf("no replica suitable for switchover: %s", strings.Join(skipReasons, `', '`))
|
||||
} else {
|
||||
err = fmt.Errorf("no replica running")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user