From 4ed21e7ecf772b6ab305a51800e76d91d2f2370c Mon Sep 17 00:00:00 2001 From: pmchung Date: Tue, 22 Aug 2023 06:33:31 -0700 Subject: [PATCH] spotlessApply --- .../netflix/conductor/core/events/SimpleActionProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java b/core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java index 3ba42fb9df..0e192c1e1c 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java +++ b/core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java @@ -175,7 +175,8 @@ private Map completeTask( if (retry) { status = TaskModel.Status.FAILED; - } else if (status.equals(TaskModel.Status.FAILED_WITH_TERMINAL_ERROR) && failReason != null) { + } else if (status.equals(TaskModel.Status.FAILED_WITH_TERMINAL_ERROR) + && failReason != null) { taskModel.setReasonForIncompletion(failReason); }