Dont swallog pod list error.
This commit is contained in:
parent
92a855372d
commit
f600fc5785
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue