diff --git a/.gitignore b/.gitignore index 1df3eba..eeccf24 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 a266cb8..e95b4c7 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()