mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 10:11:59 +02:00
Merge pull request #240 from zalando-incubator/feature/goreport-improvements
Some improvements for golint, ineffassign and misspell
This commit is contained in:
@@ -419,9 +419,8 @@ func (c *Cluster) deletePodDisruptionBudget() error {
|
||||
}
|
||||
if k8sutil.ResourceNotFound(err2) {
|
||||
return true, nil
|
||||
} else {
|
||||
return false, err2
|
||||
}
|
||||
return false, err2
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not delete pod disruption budget: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user