Skip to content

Commit

Permalink
Avoid propogating agent join failures
Browse files Browse the repository at this point in the history
When a gossip join failure happens do not propogate that up the call
chain because a join failure is most likely transient and the retry
logic built in the networkdb is going to retry and succeed. This error
propagation makes the initialization of ingress network/sandbox to abort
which causes a problem even after the gossip join on retry is successfull.

Signed-off-by: Jana Radhakrishnan <[email protected]>
  • Loading branch information
mrjana committed Sep 27, 2016
1 parent bf3d9cc commit 727b917
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ func (c *controller) agentSetup() error {
if remoteAddr != "" {
if err := c.agentJoin(remoteAddr); err != nil {
logrus.Errorf("Error in agentJoin : %v", err)
return nil
}
}

Expand Down

0 comments on commit 727b917

Please sign in to comment.