Browse code

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>

Arko Dasgupta authored on 2019/08/16 07:39:20
Showing 1 changed files
... ...
@@ -681,7 +681,7 @@ func (n *networkNamespace) ApplyOSTweaks(types []SandboxType) {
681 681
 	for _, t := range types {
682 682
 		switch t {
683 683
 		case SandboxTypeLoadBalancer:
684
-			n.InvokeFunc(func() { kernel.ApplyOSTweaks(loadBalancerConfig) })
684
+			kernel.ApplyOSTweaks(loadBalancerConfig)
685 685
 		}
686 686
 	}
687 687
 }