fix(proxyd): do not pre-bracket IPv6 backend addrs

Fixes #996

Signed-off-by: Seán C McCord <ulexus@gmail.com>
This commit is contained in:
Seán C McCord 2019-08-11 17:49:58 -04:00 committed by Andrew Rynhard
parent ad79e8dfcf
commit fd76d90028

View File

@ -327,7 +327,7 @@ func (r *ReverseProxy) Bootstrap(ctx context.Context) {
ticker := time.NewTicker(1 * time.Second)
defer ticker.Stop()
uid := fmt.Sprintf("bootstrap-%d", i)
addr := net.JoinHostPort(tnet.FormatAddress(e), "6443")
addr := net.JoinHostPort(e, "6443")
for {
select {
case <-ticker.C: