Improves the comment for the Address field.

This commit is contained in:
James Phillips 2016-03-24 11:33:44 -07:00
parent 1cfed981b3
commit 0eb6279c5e
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,9 @@ type Config struct {
// TLSConfig is used to generate a TLSClientConfig that's useful for talking to // TLSConfig is used to generate a TLSClientConfig that's useful for talking to
// Consul using TLS. // Consul using TLS.
type TLSConfig struct { type TLSConfig struct {
// Address is the optional address of the Consul server. // Address is the optional address of the Consul server. The port, if any
// will be removed from here and this will be set to the ServerName of the
// resulting config.
Address string Address string
// CAFile is the optional path to the CA certificate used for Consul // CAFile is the optional path to the CA certificate used for Consul