From 976fd81d4d58a90fc7e550b83d578951bd0e48e9 Mon Sep 17 00:00:00 2001 From: Albert Zhao Date: Sun, 7 Feb 2021 14:07:20 +0800 Subject: [PATCH] modify gitignore;fix a typo (#2237) --- .gitignore | 1 + pkg/transport/tls.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1df3ebab..eeccf24a 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ release/ test/bin/ vendor/ dist/ +.idea/ # Cache *.swp diff --git a/pkg/transport/tls.go b/pkg/transport/tls.go index a266cb8a..e95b4c72 100644 --- a/pkg/transport/tls.go +++ b/pkg/transport/tls.go @@ -43,7 +43,7 @@ func newRandomTLSKeyPair() *tls.Certificate { return &tlsCert } -// Only supprt one ca file to add +// Only support one ca file to add func newCertPool(caPath string) (*x509.CertPool, error) { pool := x509.NewCertPool()