mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-20 22:52:49 +02:00
bump dependencies and reflect linter suggestions (#2963)
This commit is contained in:
@@ -237,7 +237,7 @@ func (c *Cluster) majorVersionUpgrade() error {
|
||||
|
||||
isUpgradeSuccess := true
|
||||
numberOfPods := len(pods)
|
||||
if allRunning && masterPod != nil {
|
||||
if allRunning {
|
||||
c.logger.Infof("healthy cluster ready to upgrade, current: %d desired: %d", c.currentMajorVersion, desiredVersion)
|
||||
if c.currentMajorVersion < desiredVersion {
|
||||
defer func() error {
|
||||
|
||||
Reference in New Issue
Block a user