mirror of https://github.com/etcd-io/dbtester.git
agent: fix typo
This commit is contained in:
parent
8897cef9dd
commit
339c06831b
|
|
@ -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, " ")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue