Skip to content

Commit

Permalink
KubernetesAgentErrorCondition failed to handle DR (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Nov 5, 2024
1 parent 7fa01b3 commit 20a7e4d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ public boolean test(@NonNull Throwable t, @CheckForNull StepContext context)
}
Set<String> terminationReasons =
ExtensionList.lookupSingleton(Reaper.class).terminationReasons(node);
if (terminationReasons.stream().allMatch(IGNORED_CONTAINER_TERMINATION_REASONS::contains)) {
if (!terminationReasons.isEmpty()
&& terminationReasons.stream().allMatch(IGNORED_CONTAINER_TERMINATION_REASONS::contains)) {
listener.getLogger()
.println("Ignored termination reason(s) for " + node + " for purposes of retry: "
+ terminationReasons);
Expand Down

0 comments on commit 20a7e4d

Please sign in to comment.