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 aabb395 commit 14fd46bCopy full SHA for 14fd46b
operator/src/main/java/oracle/kubernetes/operator/watcher/JobWatcher.java
@@ -171,7 +171,8 @@ public static String getFailedReason(V1Job job) {
171
V1JobStatus status = job.getStatus();
172
if (status != null && status.getConditions() != null) {
173
for (V1JobCondition cond : status.getConditions()) {
174
- if ("Failed".equals(cond.getType()) && "True".equals(cond.getStatus())) {
+ if (("FailureTarget".equals(cond.getType()) || "Failed".equals(cond.getType()))
175
+ && "True".equals(cond.getStatus())) {
176
return cond.getReason();
177
}
178
0 commit comments