Skip to content

Commit 6a8db80

Browse files
committed
Review comments #1.
1 parent 51c88f5 commit 6a8db80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

credentials/tls.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)