This reverts commit 9f58c475940fb0c0d4b69de0af7787b62a40481f.
This commit is causing TestCreateParallel to be flaky
Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
| ... | ... |
@@ -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 |
} |