Commit e9ea2e0d authored by AllenZMC's avatar AllenZMC Committed by czm

fix some log typos in tlsutil_test.go

Signed-off-by: 's avatarczm <zhongming.chang@daocloud.io>
parent f4908b1d
...@@ -47,7 +47,7 @@ func TestClientConfig(t *testing.T) { ...@@ -47,7 +47,7 @@ func TestClientConfig(t *testing.T) {
t.Fatalf("expecting 1 client certificates, got %d", got) t.Fatalf("expecting 1 client certificates, got %d", got)
} }
if cfg.InsecureSkipVerify { if cfg.InsecureSkipVerify {
t.Fatalf("insecure skip verify mistmatch, expecting false") t.Fatalf("insecure skip verify mismatch, expecting false")
} }
if cfg.RootCAs == nil { if cfg.RootCAs == nil {
t.Fatalf("mismatch tls RootCAs, expecting non-nil") t.Fatalf("mismatch tls RootCAs, expecting non-nil")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment