chore: remove superfluous context.Canceled handling (#13140)

Removes a check for `context.Canceled` inside the `handleManifest` routine.  This checking is handled in the `apiConnRoutineManager`, so checking inside the handler is redundant.
This commit is contained in:
Spike Curtis
2024-05-06 14:33:16 +04:00
committed by GitHub
parent 7c3ec51997
commit 2efb46a10e
-3
View File
@@ -903,9 +903,6 @@ func (a *agent) handleManifest(manifestOK chan<- struct{}) func(ctx context.Cont
Subsystems: subsys,
}})
if err != nil {
if xerrors.Is(err, context.Canceled) {
return nil
}
return xerrors.Errorf("update workspace agent startup: %w", err)
}