diff --git a/libnetwork/network.go b/libnetwork/network.go index 5edd5e9efc..318c3956c0 100644 --- a/libnetwork/network.go +++ b/libnetwork/network.go @@ -2092,10 +2092,7 @@ func (n *network) createLoadBalancerSandbox() error { if err := ep.Join(sb, nil); err != nil { return err } - if err := sb.EnableService(); err != nil { - return err - } - return nil + return sb.EnableService() } func (n *network) deleteLoadBalancerSandbox() {