From 23a5606d215bb63d4d2700a0d77d905dfff49cf4 Mon Sep 17 00:00:00 2001 From: Cooper Oh Date: Fri, 19 Jul 2024 00:43:19 +0900 Subject: [PATCH] drop unexpected change --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 043e456..9f50882 100644 --- a/client.go +++ b/client.go @@ -368,7 +368,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h if proto != "http/1.1" { return nil, nil, fmt.Errorf( "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, ) }