drop unexpected change

This commit is contained in:
Cooper Oh 2024-07-19 00:43:19 +09:00
parent d249ef1a3b
commit 23a5606d21
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h
if proto != "http/1.1" { if proto != "http/1.1" {
return nil, nil, fmt.Errorf( return nil, nil, fmt.Errorf(
"websocket: protocol %q was given but is not supported;"+ "websocket: protocol %q was given but is not supported;"+
"sharing tlsServerName.Config with net/http Transport can cause this error: %w", "sharing tls.Config with net/http Transport can cause this error: %w",
proto, err, proto, err,
) )
} }