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 36d9272 commit c2572adCopy full SHA for c2572ad
operator/src/main/java/oracle/kubernetes/operator/work/Step.java
@@ -315,7 +315,12 @@ protected final Result doForkJoin(
315
fiber.addBreadcrumb("[" + ++count + "of" + startDetails.size() + "]");
316
}
317
318
- Result r = sap.step().doStepNext(sap.packet());
+ Packet sapPacket = sap.packet();
319
+ Result r = sap.step().doStepNext(sapPacket);
320
+ Throwable t = Optional.ofNullable(sapPacket).map(p -> (Throwable) p.getValue(THROWABLE)).orElse(null);
321
+ if (t != null) {
322
+ return doTerminate(t, packet);
323
+ }
324
if (r != null && r.isRequeue()) {
325
requeue = true;
326
duration = minDuration(duration, r.getRequeueAfter());
0 commit comments