We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0fa327 commit 8b27983Copy full SHA for 8b27983
coderd/provisionerdserver/provisionerdserver.go
@@ -368,7 +368,7 @@ func (s *server) AcquireJobWithCancel(stream proto.DRPCProvisionerDaemon_Acquire
368
je = <-jec
369
case je = <-jec:
370
}
371
- if xerrors.Is(je.err, context.Canceled) {
+ if database.IsQueryCanceledError(je.err) {
372
s.Logger.Debug(streamCtx, "successful cancel")
373
err := stream.Send(&proto.AcquiredJob{})
374
if err != nil {
0 commit comments