change network resolver http to localhost:8080

This commit is contained in:
Asim Aslam 2020-07-26 11:21:57 +01:00
parent fbdf1f2c1c
commit 5f4491bb86

View File

@ -29,8 +29,8 @@ type Response struct {
// Resolve assumes ID is a domain which can be converted to a http://name/network request // Resolve assumes ID is a domain which can be converted to a http://name/network request
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) { func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
proto := "https" proto := "http"
host := "go.micro.mu" host := "localhost:8080"
path := "/network/nodes" path := "/network/nodes"
if len(r.Proto) > 0 { if len(r.Proto) > 0 {