mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-26 18:21:13 +01:00
Fix typo in test (and failure)
This commit is contained in:
parent
ac95095a99
commit
bf30fe7ccb
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user