command: formatting

This commit is contained in:
Ryan Uber 2014-10-12 12:45:40 -07:00
parent 599d0558e7
commit b35578a917
1 changed files with 2 additions and 0 deletions

View File

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