Trivial fix typo

Although it is spelling mistakes, it might make an effect while reading.
pull/564/head
Tuan Do Anh 2019-02-26 15:48:40 +07:00
parent 4e8e3c2f02
commit 8c505ccab8
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ type ExtenderTLSConfig struct {
// Server should be accessed without verifying the TLS certificate. For testing only.
Insecure bool
// ServerName is passed to the server for SNI and is used in the client to check server
// ceritificates against. If ServerName is empty, the hostname used to contact the
// certificates against. If ServerName is empty, the hostname used to contact the
// server is used.
ServerName string

View File

@ -156,7 +156,7 @@ type ExtenderTLSConfig struct {
// Server should be accessed without verifying the TLS certificate. For testing only.
Insecure bool `json:"insecure,omitempty"`
// ServerName is passed to the server for SNI and is used in the client to check server
// ceritificates against. If ServerName is empty, the hostname used to contact the
// certificates against. If ServerName is empty, the hostname used to contact the
// server is used.
ServerName string `json:"serverName,omitempty"`