fix review comments

This commit is contained in:
m1093782566
2017-10-24 10:30:38 +08:00
parent dab9b84b67
commit 9dce640213
2 changed files with 2 additions and 8 deletions

View File

@@ -855,12 +855,6 @@ func (proxier *Proxier) OnEndpointsSynced() {
proxier.syncProxyRules()
}
type syncReason string
const syncReasonServices syncReason = "ServicesUpdate"
const syncReasonEndpoints syncReason = "EndpointsUpdate"
const syncReasonForce syncReason = "Force"
// This is where all of the ipvs calls happen.
// assumes proxier.mu is held
func (proxier *Proxier) syncProxyRules() {