agent: fix cetcd flag

This commit is contained in:
Gyu-Ho Lee 2016-12-15 14:27:59 -08:00
parent 3f78b9e546
commit 0323238fa3
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
} else {
flags2 = []string{
"-consuladdr", "0.0.0.0:8500",
"-endpoint", clientURLs[t.req.ServerIndex], // etcd endpoint
"-etcd", clientURLs[t.req.ServerIndex], // etcd endpoint
}
}
flagString2 := strings.Join(flags2, " ")