Skip to content

Commit 2a86990

Browse files
committed
ryan's null squash fix
1 parent 548e3ea commit 2a86990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public NextAction apply(Packet packet) {
7474
DomainStatus status = dom.getStatus();
7575
// These are presently Ready servers
7676
List<String> availableServers = new ArrayList<>();
77-
List<ServerStatus> ss = status.getServers();
77+
List<ServerStatus> ss = status != null ? status.getServers() : null;
7878
if (ss != null) {
7979
for (ServerStatus s : ss) {
8080
if (WebLogicConstants.RUNNING_STATE.equals(s.getState())) {

0 commit comments

Comments
 (0)