Apply load balancer properly
The load balancer options have to be applied inside the load balancer namespace Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
94af1e5af2
commit
f9442ee314
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ func (n *networkNamespace) ApplyOSTweaks(types []SandboxType) {
|
|||
for _, t := range types {
|
||||
switch t {
|
||||
case SandboxTypeLoadBalancer:
|
||||
kernel.ApplyOSTweaks(loadBalancerConfig)
|
||||
n.InvokeFunc(func() { kernel.ApplyOSTweaks(loadBalancerConfig) })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue