Skip to content

Commit

Permalink
Handle ingress sbox creation gracefully
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Boch <[email protected]>
(cherry picked from commit ed6641a)
Signed-off-by: Tibor Vass <[email protected]>
  • Loading branch information
aboch authored and Tibor Vass committed Jul 26, 2016
1 parent 8d7223d commit dc5f28f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daemon/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ func (daemon *Daemon) SetupIngress(create clustertypes.NetworkCreateRequest, nod

sb, err := controller.NewSandbox("ingress-sbox", libnetwork.OptionIngress())
if err != nil {
logrus.Errorf("Failed creating ingress sandbox: %v", err)
if _, ok := err.(networktypes.ForbiddenError); !ok {
logrus.Errorf("Failed creating ingress sandbox: %v", err)
}
return
}

Expand Down

0 comments on commit dc5f28f

Please sign in to comment.