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

@@ -89,7 +89,7 @@ func TestIsConfigTransportTLS(t *testing.T) {
t.Errorf("setting defaults failed for %#v: %v", testCase.Config, err)
continue
}
useTLS := IsConfigTransportTLS(testCase.Config)
useTLS := IsConfigTransportTLS(*testCase.Config)
if testCase.TransportTLS != useTLS {
t.Errorf("expected %v for %#v", testCase.TransportTLS, testCase.Config)
}