Add codespell CI test and fix codespell error (#2740)

* Add codespell CI test
* Fix codespell error
This commit is contained in:
JenTing Hsiao
2020-12-23 04:35:58 +08:00
committed by GitHub
parent 2ea6b16315
commit 57041f0239
11 changed files with 32 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// newListener returns a new TCP listener and HTTP reqest handler using dynamiclistener.
// newListener returns a new TCP listener and HTTP request handler using dynamiclistener.
// dynamiclistener will use the cluster's Server CA to sign the dynamically generate certificate,
// and will sync the certs into the Kubernetes datastore, with a local disk cache.
func (c *Cluster) newListener(ctx context.Context) (net.Listener, http.Handler, error) {