mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Remove wrong comment
It does not assume proxier.mu is held because it locks it at the first line.
This commit is contained in:
parent
47e1df8f4e
commit
ee1bec1e6a
@ -1008,7 +1008,6 @@ func (proxier *Proxier) OnNodeSynced() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is where all of the ipvs calls happen.
|
// This is where all of the ipvs calls happen.
|
||||||
// assumes proxier.mu is held
|
|
||||||
func (proxier *Proxier) syncProxyRules() {
|
func (proxier *Proxier) syncProxyRules() {
|
||||||
proxier.mu.Lock()
|
proxier.mu.Lock()
|
||||||
defer proxier.mu.Unlock()
|
defer proxier.mu.Unlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user