From bf30fe7ccb10e380718cf5f0acd1dd67b54053f2 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 13 Nov 2017 10:35:36 -0500 Subject: [PATCH] Fix typo in test (and failure) --- api/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client_test.go b/api/client_test.go index bfeb814638..4bd0afec8e 100644 --- a/api/client_test.go +++ b/api/client_test.go @@ -163,7 +163,7 @@ func TestClientEnvSettings(t *testing.T) { if len(tlsConfig.RootCAs.Subjects()) == 0 { t.Fatalf("bad: expected a cert pool with at least one subject") } - if tlsConfig.GetCertificate == nil { + if tlsConfig.GetClientCertificate == nil { t.Fatalf("bad: expected client tls config to have a certificate getter") } if tlsConfig.InsecureSkipVerify != true {