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