Skip to content

Commit 4eae78c

Browse files
committed
fix bug
1 parent 86af60d commit 4eae78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

percona/controller/pgcluster/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func (r *PGClusterReconciler) reconcilePatroniVersionCheck(ctx context.Context,
356356
}
357357
}
358358

359-
if p.Status.Phase == corev1.PodRunning {
359+
if p.Status.Phase != corev1.PodRunning {
360360
return errPatroniVersionCheckWait
361361
}
362362

0 commit comments

Comments
 (0)