From 02f2417a93f06fd5cebb45971594222f0c4bdd39 Mon Sep 17 00:00:00 2001 From: Albert Zhao Date: Sat, 6 Feb 2021 14:58:17 +0800 Subject: [PATCH] modify gitignore;fix a typo --- .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()