From ecb4442ab391878fcd96e4f641d8654db1590575 Mon Sep 17 00:00:00 2001 From: Pradip Dhara Date: Tue, 7 Nov 2017 00:00:31 -0800 Subject: [PATCH] Fixing circleci. Signed-off-by: Pradip Dhara --- libnetwork/network.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() {