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