Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #936 from X-Ultra/dev_retry_clear_reason
Browse files Browse the repository at this point in the history
Reset the reason when task retry
  • Loading branch information
cyzhao committed Jan 14, 2019
2 parents 5b8b614 + aff23d5 commit af05588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ Task retry(TaskDef taskDefinition, WorkflowTask workflowTask, Task task, Workflo
rescheduled.setPollCount(0);
rescheduled.setInputData(new HashMap<>());
rescheduled.getInputData().putAll(task.getInputData());

rescheduled.setReasonForIncompletion(null);

if (StringUtils.isNotBlank(task.getExternalInputPayloadStoragePath())) {
rescheduled.setExternalInputPayloadStoragePath(task.getExternalInputPayloadStoragePath());
Expand Down

0 comments on commit af05588

Please sign in to comment.