Skip to content

Commit

Permalink
Write abort event for aborted k8s workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgomezfrr authored and RRap0so committed Sep 30, 2024
1 parent bcba038 commit c7c6301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteadmin/pkg/workflowengine/impl/k8s_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (e K8sWorkflowExecutor) Abort(ctx context.Context, data interfaces.AbortDat
return errors.NewFlyteAdminErrorf(codes.Internal, "failed to terminate execution: %v with err %v", data.ExecutionID, err)
}

e.executionEventWriter.Write(&admin.WorkflowExecutionEventRequest{
e.executionEventWriter.Write(admin.WorkflowExecutionEventRequest{
Event: &event.WorkflowExecutionEvent{
ExecutionId: &core.WorkflowExecutionIdentifier{
Project: data.ExecutionID.Project,
Expand Down

0 comments on commit c7c6301

Please sign in to comment.