Skip to content

Commit

Permalink
Fix an issue emerged during the merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyklyukin committed Oct 16, 2017
1 parent 384a6c5 commit e4f32bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cluster/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ func (c *Cluster) Sync(newSpec *spec.Postgresql) (err error) {
return
}

return
c.logger.Debug("syncing pod disruption budgets")
if err := c.syncPodDisruptionBudget(); err != nil {
if err = c.syncPodDisruptionBudget(); err != nil {
err = fmt.Errorf("could not sync pod disruption budget: %v", err)
return
}
Expand Down

0 comments on commit e4f32bb

Please sign in to comment.