mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 02:37:31 +02:00
Extend diagnostic api with worker status info
This commit is contained in:
@@ -284,6 +284,7 @@ func (c *Cluster) waitPodLabelsReady() error {
|
||||
}
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user