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:
parent
885f8ff133
commit
f79533d720
|
@ -681,7 +681,7 @@ func (n *networkNamespace) ApplyOSTweaks(types []SandboxType) {
|
||||||
for _, t := range types {
|
for _, t := range types {
|
||||||
switch t {
|
switch t {
|
||||||
case SandboxTypeLoadBalancer:
|
case SandboxTypeLoadBalancer:
|
||||||
n.InvokeFunc(func() { kernel.ApplyOSTweaks(loadBalancerConfig) })
|
kernel.ApplyOSTweaks(loadBalancerConfig)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue