From b35578a9178f94643f7d97c28ca89ff366af4c16 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Sun, 12 Oct 2014 12:45:40 -0700 Subject: [PATCH] command: formatting --- command/agent/command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command/agent/command.go b/command/agent/command.go index ce036089de..5cf54eb5e0 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -369,6 +369,8 @@ func (c *Command) startupJoin(config *Config) error { 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{}) { if len(config.RetryJoin) == 0 { return