Fix typos.

This commit is contained in:
Haosdent Huang
2019-06-09 15:34:53 +08:00
parent 5fe910191a
commit 7ce6e71891
12 changed files with 12 additions and 12 deletions

View File

@@ -556,7 +556,7 @@ func (proxier *Proxier) OnEndpointsUpdate(oldEndpoints, endpoints *v1.Endpoints)
}
}
// OnEndpointsDelete is called whever deletion of an existing endpoints
// OnEndpointsDelete is called whenever deletion of an existing endpoints
// object is observed.
func (proxier *Proxier) OnEndpointsDelete(endpoints *v1.Endpoints) {
proxier.OnEndpointsUpdate(endpoints, nil)