From 0eb6279c5e3fa2b7c866596f2f373f58b5df4797 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 24 Mar 2016 11:33:44 -0700 Subject: [PATCH] Improves the comment for the Address field. --- api/api.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index db791e282f..590b858e1f 100644 --- a/api/api.go +++ b/api/api.go @@ -127,7 +127,9 @@ type Config struct { // TLSConfig is used to generate a TLSClientConfig that's useful for talking to // Consul using TLS. 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 // CAFile is the optional path to the CA certificate used for Consul