mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 02:48:39 +02:00
Avoid orphaned objects on delete (#654)
* Make setSpec function work correctly when updating cluster status fails
This commit is contained in:
committed by
Sergey Dudoladov
parent
fd6a2454e8
commit
4a863d2280
+1
-1
@@ -365,7 +365,7 @@ func (c *Cluster) waitStatefulsetPodsReady() error {
|
||||
c.setProcessName("waiting for the pods of the statefulset")
|
||||
// TODO: wait for the first Pod only
|
||||
if err := c.waitStatefulsetReady(); err != nil {
|
||||
return fmt.Errorf("statuful set error: %v", err)
|
||||
return fmt.Errorf("stateful set error: %v", err)
|
||||
}
|
||||
|
||||
// TODO: wait only for master
|
||||
|
||||
Reference in New Issue
Block a user