Commit eb6949a5 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Change locking mechanism in kube-proxy

parent 19795ea7
......@@ -386,9 +386,9 @@ func NewFakeProxier(ipt utiliptables.Interface) *Proxier {
return &Proxier{
exec: &exec.FakeExec{},
serviceMap: make(proxyServiceMap),
serviceChanges: make(serviceChangeMap),
serviceChanges: newServiceChangeMap(),
endpointsMap: make(proxyEndpointsMap),
endpointsChanges: make(endpointsChangeMap),
endpointsChanges: newEndpointsChangeMap(),
iptables: ipt,
clusterCIDR: "10.0.0.0/24",
hostname: testHostname,
......
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