agent: fix typo

This commit is contained in:
Gyu-Ho Lee 2016-03-23 07:13:34 -07:00
parent 8897cef9dd
commit 339c06831b
1 changed files with 1 additions and 2 deletions

View File

@ -480,7 +480,6 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
consulCfg.RetryJoin = joins
if t.req.ServerIndex == 0 { // leader
// start bootstrap
bcfg := consulCfg
bcfg.Bootstrap = true
@ -500,7 +499,7 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
}
flags := []string{
"agent",
"-config-file", consulConfigPath,
"-config-file", consulBootstrapConfigPath,
}
flagString := strings.Join(flags, " ")