Skip to content

Commit

Permalink
[Fix #520] Refining before release
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
  • Loading branch information
fjtirado committed Jan 31, 2025
1 parent b98e112 commit 8f4ec43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private JsonNode whenCompleted(JsonNode node) {
.map(f -> f.apply(workflowContext, null, node))
.orElse(node);
workflowContext.definition().outputSchemaValidator().ifPresent(v -> v.validate(output));
status.set(WorkflowStatus.COMPLETED);
status.compareAndSet(WorkflowStatus.RUNNING, WorkflowStatus.COMPLETED);
completedAt = Instant.now();
return output;
}
Expand Down

0 comments on commit 8f4ec43

Please sign in to comment.