Commit ba64ae18 authored by yanghaichao12's avatar yanghaichao12

Fix typos in kube-proxy

parent 8b3b5a9f
......@@ -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}
}
......
......@@ -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
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment