We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 308685a commit 4f79647Copy full SHA for 4f79647
operator/src/main/java/oracle/kubernetes/operator/PodWatcher.java
@@ -91,10 +91,17 @@ public void receivedResponse(Watch.Response<V1Pod> item) {
91
sko.getLastKnownStatus().set(isReady ? WebLogicConstants.RUNNING_STATE : null);
92
}
93
if (isReady) {
94
+ if (sko != null) {
95
+ sko.getLastKnownStatus().set(WebLogicConstants.RUNNING_STATE);
96
+ }
97
OnReady ready = readyCallbackRegistrations.remove(podName);
98
if (ready != null) {
99
ready.onReady();
100
101
+ } else {
102
103
+ sko.getLastKnownStatus().compareAndSet(WebLogicConstants.RUNNING_STATE, null);
104
105
106
break;
107
case "DELETED":
0 commit comments