mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 21:31:47 +02:00
add creating method for PostgresStatus
This commit is contained in:
@@ -173,7 +173,7 @@ func (c *Cluster) setStatus(status string) {
|
||||
}
|
||||
|
||||
func (c *Cluster) isNewCluster() bool {
|
||||
return c.Status.PostgresClusterStatus == acidv1.ClusterStatusCreating
|
||||
return c.Status.Creating()
|
||||
}
|
||||
|
||||
// initUsers populates c.systemUsers and c.pgUsers maps.
|
||||
|
||||
Reference in New Issue
Block a user