Bootstrapper

This commit is contained in:
katexochen 2022-07-05 13:33:03 +02:00 committed by Paul Meyer
parent 15adba9235
commit 43eb94b6dc
2 changed files with 70 additions and 9 deletions

View file

@ -314,8 +314,7 @@ func (c *JoinClient) timeoutCtx() (context.Context, context.CancelFunc) {
type unrecoverableError struct{ error }
func isUnrecoverable(err error) bool {
var ue *unrecoverableError
ok := errors.As(err, &ue)
_, ok := err.(unrecoverableError)
return ok
}