Skip to content

Commit

Permalink
fix reason for old lookout
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotwic4 committed May 11, 2023
1 parent a6186a4 commit 72b6dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/armada/server/submit_to_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ func (srv *PulsarSubmitServer) CancelJobs(ctx context.Context, req *api.JobCance
_, err := srv.CancelJobSet(ctx, &api.JobSetCancelRequest{
Queue: req.Queue,
JobSetId: req.JobSetId,
Reason: req.Reason,
})
if err != nil {
return nil, err
Expand Down Expand Up @@ -292,7 +293,7 @@ func (srv *PulsarSubmitServer) CancelJobs(ctx context.Context, req *api.JobCance
{
Created: pointer.Now(),
Event: &armadaevents.EventSequence_Event_CancelJob{
CancelJob: &armadaevents.CancelJob{JobId: jobId},
CancelJob: &armadaevents.CancelJob{JobId: jobId, Reason: req.Reason},
},
},
},
Expand Down

0 comments on commit 72b6dd6

Please sign in to comment.