Revert "add: information about endpoint connection when auth handshake fails"

This reverts commit 08f7312ab2024018b23d8d1b9a761cfe1027a35e.
This commit is contained in:
Nils Carstensen 2024-04-23 08:58:16 -03:00
parent 86f7f1dc7b
commit c47a517c5b
No known key found for this signature in database
GPG Key ID: 1F25989330BF84C3

View File

@ -286,7 +286,7 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
if transportCreds != nil {
conn, authInfo, err = transportCreds.ClientHandshake(connectCtx, addr.ServerName, conn)
if err != nil {
return nil, connectionErrorf(isTemporary(err), err, "transport: authentication handshake failed for %s: %v", addr.ServerName, err)
return nil, connectionErrorf(isTemporary(err), err, "transport: authentication handshake failed: %v", err)
}
for _, cd := range perRPCCreds {
if cd.RequireTransportSecurity() {