Explorar el Código

modify gitignore;fix a typo (#2237)

Albert Zhao hace 4 años
padre
commit
976fd81d4d
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      .gitignore
  2. 1 1
      pkg/transport/tls.go

+ 1 - 0
.gitignore

@@ -30,6 +30,7 @@ release/
 test/bin/
 vendor/
 dist/
+.idea/
 
 # Cache
 *.swp

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