modify gitignore;fix a typo (#2237)

This commit is contained in:
Albert Zhao 2021-02-07 14:07:20 +08:00 committed by GitHub
parent 52d5c9e25b
commit 976fd81d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

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

View File

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