mirror of https://github.com/status-im/consul.git
command: formatting
This commit is contained in:
parent
599d0558e7
commit
b35578a917
|
@ -369,6 +369,8 @@ func (c *Command) startupJoin(config *Config) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// retryJoin is used to handle retrying a join until it succeeds or all
|
||||||
|
// retries are exhausted.
|
||||||
func (c *Command) retryJoin(config *Config, errCh chan<- struct{}) {
|
func (c *Command) retryJoin(config *Config, errCh chan<- struct{}) {
|
||||||
if len(config.RetryJoin) == 0 {
|
if len(config.RetryJoin) == 0 {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue