Pull request 1962: upd-code-deps
Squashed commit of the following: commit 7a24cf8f9c5515f642cbfc7e730b95005eeab11d Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Aug 15 14:54:16 2023 +0300 all: upd code, deps, tools
This commit is contained in:
@@ -49,9 +49,8 @@ func (s *Server) DialContext(ctx context.Context, network, addr string) (conn ne
|
||||
continue
|
||||
}
|
||||
|
||||
return conn, err
|
||||
return conn, nil
|
||||
}
|
||||
|
||||
// TODO(a.garipov): Use errors.Join in Go 1.20.
|
||||
return nil, errors.List(fmt.Sprintf("dialing %q", addr), dialErrs...)
|
||||
return nil, errors.Join(dialErrs...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user