Merge pull request #72631 from yanghaichao12/comm0107

Fix typos in kube-proxy
This commit is contained in:
Kubernetes Prow Robot 2019-01-07 15:25:21 -08:00 committed by GitHub
commit abf42b33f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ type netlinkHandle struct {
isIPv6 bool
}
// NewNetLinkHandle will crate a new NetLinkHandle
// NewNetLinkHandle will create a new NetLinkHandle
func NewNetLinkHandle(isIPv6 bool) NetLinkHandle {
return &netlinkHandle{netlink.Handle{}, isIPv6}
}

View File

@ -669,7 +669,7 @@ func (proxier *Proxier) OnServiceDelete(service *v1.Service) {
proxier.OnServiceUpdate(service, nil)
}
// OnServiceSynced is called once all the initial even handlers were called and the state is fully propagated to local cache.
// OnServiceSynced is called once all the initial event handlers were called and the state is fully propagated to local cache.
func (proxier *Proxier) OnServiceSynced() {
proxier.mu.Lock()
proxier.servicesSynced = true

View File

@ -43,7 +43,7 @@ func (lp *LocalPort) String() string {
return fmt.Sprintf("%q (%s/%s)", lp.Description, ipPort, lp.Protocol)
}
// Closeable is an interface around closing an port.
// Closeable is an interface around closing a port.
type Closeable interface {
Close() error
}