mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
Backport of #22977 to 2.31
This commit is contained in:
@@ -1429,7 +1429,7 @@ func (c *Controller) Run(ctx context.Context) {
|
||||
|
||||
tailnetClients, err := c.Dialer.Dial(c.ctx, c.ResumeTokenCtrl)
|
||||
if err != nil {
|
||||
if xerrors.Is(err, context.Canceled) || xerrors.Is(err, context.DeadlineExceeded) {
|
||||
if c.ctx.Err() != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user