mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 12:59:33 +02:00
Dont swallog pod list error.
This commit is contained in:
@@ -55,7 +55,11 @@ func (c *Cluster) majorVersionUpgrade() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
pods, _ := c.listPods()
|
||||
pods, err := c.listPods()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
allRunning := true
|
||||
|
||||
var masterPod *v1.Pod
|
||||
|
||||
Reference in New Issue
Block a user