Skip to content

Commit

Permalink
Scheduler ingester to ignore job run cancelled (#3681)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <[email protected]>
Co-authored-by: Chris Martin <[email protected]>
  • Loading branch information
d80tb7 and d80tb7 authored Jun 21, 2024
1 parent 98c4dec commit 093dc7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/scheduleringester/instructions.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func (c *InstructionConverter) dbOperationsFromEventSequence(es *armadaevents.Ev
operationsFromEvent, err = c.handleJobValidated(event.GetJobValidated())
case *armadaevents.EventSequence_Event_ReprioritisedJob,
*armadaevents.EventSequence_Event_ResourceUtilisation,
*armadaevents.EventSequence_Event_JobRunCancelled,
*armadaevents.EventSequence_Event_StandaloneIngressInfo:
// These events can all be safely ignored
log.Debugf("Ignoring event type %T", event)
Expand Down

0 comments on commit 093dc7f

Please sign in to comment.