mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 08:58:11 +02:00
return create and sync error, not setStatus error (#2574)
* return create and sync error, not possible status set error * update documentation and improve deletion logs
This commit is contained in:
@@ -339,7 +339,6 @@ func (c *Controller) processEvent(event ClusterEvent) {
|
||||
lg.Error(cl.Error)
|
||||
return
|
||||
}
|
||||
lg.Infof("cluster has been deleted")
|
||||
} else {
|
||||
if err = cl.Sync(event.NewSpec); err != nil {
|
||||
cl.Error = fmt.Sprintf("could not sync cluster: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user