Skip to content

Commit

Permalink
Merge pull request Netflix#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 4fbcdc9 + 369929d commit 41e18d1
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 41e18d1

Please sign in to comment.