agent: Fixing missing copy of RejoinAfterLeave flag. #110

pull/233/head
Armon Dadgar 11 years ago
parent 10c120bf9d
commit a05e1aee15

@ -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)
}

Loading…
Cancel
Save