Skip to content

Commit

Permalink
agent: Fixing missing copy of RejoinAfterLeave flag. #110
Browse files Browse the repository at this point in the history
  • Loading branch information
armon committed Jun 18, 2014
1 parent 10c120b commit a05e1ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions command/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ func (a *Agent) consulConfig() *consul.Config {
if a.config.Bootstrap {
base.Bootstrap = true
}
if a.config.RejoinAfterLeave {
base.RejoinAfterLeave = true
}
if a.config.Protocol > 0 {
base.ProtocolVersion = uint8(a.config.Protocol)
}
Expand Down

0 comments on commit a05e1ae

Please sign in to comment.