don't require config.Version for IsConfigTransportTLS

This commit is contained in:
deads2k
2015-01-08 10:22:09 -05:00
parent 480635bb72
commit 005f2e1bda
4 changed files with 9 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ func (config DirectClientConfig) ClientConfig() (*client.Config, error) {
clientConfig.Version = configClusterInfo.APIVersion
// only try to read the auth information if we are secure
if client.IsConfigTransportTLS(&clientConfig) {
if client.IsConfigTransportTLS(clientConfig) {
var authInfo *clientauth.Info
var err error
switch {