Remove wrong comment

It does not assume proxier.mu is held because it locks it at the first
line.
This commit is contained in:
Jiahao Huang 2021-07-25 14:19:11 +08:00
parent 47e1df8f4e
commit ee1bec1e6a

View File

@ -1008,7 +1008,6 @@ func (proxier *Proxier) OnNodeSynced() {
}
// This is where all of the ipvs calls happen.
// assumes proxier.mu is held
func (proxier *Proxier) syncProxyRules() {
proxier.mu.Lock()
defer proxier.mu.Unlock()