Revert "Apply load balancer properly"

This reverts commit 9f58c475940fb0c0d4b69de0af7787b62a40481f.
This commit is causing TestCreateParallel to be flaky

Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
This commit is contained in:
Arko Dasgupta 2019-08-15 15:39:20 -07:00
parent 885f8ff133
commit f79533d720
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ func (n *networkNamespace) ApplyOSTweaks(types []SandboxType) {
for _, t := range types {
switch t {
case SandboxTypeLoadBalancer:
n.InvokeFunc(func() { kernel.ApplyOSTweaks(loadBalancerConfig) })
kernel.ApplyOSTweaks(loadBalancerConfig)
}
}
}