Merge pull request #7913 from gyuho/srv

pkg/srv: fix error checks from resolveTCPAddr
This commit is contained in:
Gyu-Ho Lee
2017-05-11 12:12:01 -07:00
committed by GitHub

View File

@@ -55,7 +55,7 @@ func GetCluster(service, name, dns string, apurls types.URLs) ([]string, error)
host := net.JoinHostPort(srv.Target, port)
tcpAddr, terr := resolveTCPAddr("tcp", host)
if terr != nil {
terr = err
err = terr
continue
}
n := ""