Skip to content

Commit d346571

Browse files
authored
Fix for owls-85429 in operator 3.0.3 release (#2073)
1 parent b22dced commit d346571

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/PodStepContext.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,8 @@ public NextAction onFailure(Packet packet, CallResponse<Object> callResponses) {
898898

899899
@Override
900900
public NextAction onSuccess(Packet packet, CallResponse<Object> callResponses) {
901-
return doNext(replacePod(getNext()), packet);
901+
PodAwaiterStepFactory pw = packet.getSpi(PodAwaiterStepFactory.class);
902+
return doNext(pw.waitForDelete(pod, replacePod(getNext())), packet);
902903
}
903904
}
904905

@@ -920,6 +921,7 @@ public NextAction onSuccess(Packet packet, CallResponse<V1Pod> callResponse) {
920921
PodAwaiterStepFactory pw = packet.getSpi(PodAwaiterStepFactory.class);
921922
return doNext(pw.waitForReady(newPod, getNext()), packet);
922923
}
924+
923925
}
924926

925927
private class PatchPodResponseStep extends BaseResponseStep {

0 commit comments

Comments
 (0)