@@ -137,9 +137,9 @@ func NewTLS(c *tls.Config) TransportCredentials {
137137
138138// NewClientTLSFromCert constructs TLS credentials from the provided root
139139// certificate authority certificate(s) to validate server connections. If
140- // certificates to establish the identity of the client need to included in the
141- // credentials (eg: for mTLS), use NewTLS instead, where a complete tls.Config
142- // can be specified.
140+ // certificates to establish the identity of the client need to be included in
141+ // the credentials (eg: for mTLS), use NewTLS instead, where a complete
142+ // tls.Config can be specified.
143143// serverNameOverride is for testing only. If set to a non empty string,
144144// it will override the virtual host name of authority (e.g. :authority header
145145// field) in requests.
@@ -149,9 +149,9 @@ func NewClientTLSFromCert(cp *x509.CertPool, serverNameOverride string) Transpor
149149
150150// NewClientTLSFromFile constructs TLS credentials from the provided root
151151// certificate authority certificate file(s) to validate server connections. If
152- // certificates to establish the identity of the client need to included in the
153- // credentials (eg: for mTLS), use NewTLS instead, where a complete tls.Config
154- // can be specified.
152+ // certificates to establish the identity of the client need to be included in
153+ // the credentials (eg: for mTLS), use NewTLS instead, where a complete
154+ // tls.Config can be specified.
155155// serverNameOverride is for testing only. If set to a non empty string,
156156// it will override the virtual host name of authority (e.g. :authority header
157157// field) in requests.
0 commit comments