Skip to content

Commit

Permalink
Update pkg/scheduler/scheduler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Arve Knudsen <[email protected]>
  • Loading branch information
alexweav and aknuds1 authored Aug 23, 2024
1 parent 35c113b commit 936611f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (s *Scheduler) cancelRequestAndRemoveFromPending(key queue.RequestKey, reas

req := s.schedulerInflightRequests[key]
if req != nil {
req.CancelFunc(cancellation.NewErrorf("%s", reason))
req.CancelFunc(cancellation.NewError(errors.New(reason)))
}

delete(s.schedulerInflightRequests, key)
Expand Down

0 comments on commit 936611f

Please sign in to comment.