Skip to content

Commit 90abf5d

Browse files
author
lamai93
committed
Do clean out a dbserver if it was initialized.
1 parent 78d7c67 commit 90abf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/deployment/reconcile/action_cleanout_member.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ func (a *actionCleanoutMember) CheckProgress(ctx context.Context) (bool, bool, e
9595
// We wanted to remove and it is already gone. All ok
9696
return true, false, nil
9797
}
98-
// do not try to clean out a pod that is not ready
99-
if !m.Conditions.IsTrue(api.ConditionTypeReady) {
98+
// do not try to clean out a pod that was not initialized
99+
if !m.IsInitialized {
100100
return false, true, nil
101101
}
102102
c, err := a.actionCtx.GetDatabaseClient(ctx)

0 commit comments

Comments
 (0)