File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
percona/controller/pgcluster Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ func updateConditions(cr *v2.PerconaPGCluster, status *v1beta1.PostgresClusterSt
146146 }
147147 }
148148
149+ syncConditionsFromPostgresToPercona (cr , status )
150+
151+ syncPatroniFromPostgresToPercona (cr , status )
152+
153+ syncPgbackrestFromPostgresToPercona (cr , status )
154+
149155 repoCondition := meta .FindStatusCondition (status .Conditions , postgrescluster .ConditionRepoHostReady )
150156 if repoCondition == nil || repoCondition .Status != metav1 .ConditionTrue {
151157 setClusterNotReadyCondition (metav1 .ConditionFalse , postgrescluster .ConditionRepoHostReady )
@@ -160,12 +166,6 @@ func updateConditions(cr *v2.PerconaPGCluster, status *v1beta1.PostgresClusterSt
160166
161167 setClusterNotReadyCondition (metav1 .ConditionTrue , "AllConditionsAreTrue" )
162168
163- syncConditionsFromPostgresToPercona (cr , status )
164-
165- syncPatroniFromPostgresToPercona (cr , status )
166-
167- syncPgbackrestFromPostgresToPercona (cr , status )
168-
169169}
170170
171171func syncConditionsFromPostgresToPercona (cr * v2.PerconaPGCluster , postgresStatus * v1beta1.PostgresClusterStatus ) {
You can’t perform that action at this time.
0 commit comments