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()