Skip to content

Commit

Permalink
refresh task definitions when latest is requested during restart
Browse files Browse the repository at this point in the history
  • Loading branch information
apanicker-nflx committed Aug 10, 2022
1 parent c526c65 commit 15efeaa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ public void restart(String workflowId, boolean useLatestDefinitions) {
"Unable to find latest definition for %s",
workflowId));
workflow.setWorkflowDefinition(workflowDef);
workflowDef = metadataMapperService.populateTaskDefinitions(workflowDef);
} else {
workflowDef =
Optional.ofNullable(workflow.getWorkflowDefinition())
Expand Down

0 comments on commit 15efeaa

Please sign in to comment.