Skip to content

Commit

Permalink
using %v instead of %v for compatibility with older versions of go
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan Kang committed Jun 19, 2022
1 parent 0efca0d commit 75b93bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Expand Up @@ -376,7 +376,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 tls.Config with net/http Transport can cause this error: %w",
"sharing tls.Config with net/http Transport can cause this error: %v",
proto, err,
)
}
Expand Down

0 comments on commit 75b93bb

Please sign in to comment.