Set the default resolver to registry
This commit is contained in:
parent
e53484302c
commit
8c3eec9f2a
@ -2,7 +2,7 @@ package network
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/network/resolver"
|
"github.com/micro/go-micro/network/resolver"
|
||||||
"github.com/micro/go-micro/network/resolver/dns"
|
"github.com/micro/go-micro/network/resolver/registry"
|
||||||
"github.com/micro/go-micro/proxy"
|
"github.com/micro/go-micro/proxy"
|
||||||
"github.com/micro/go-micro/proxy/mucp"
|
"github.com/micro/go-micro/proxy/mucp"
|
||||||
"github.com/micro/go-micro/router"
|
"github.com/micro/go-micro/router"
|
||||||
@ -77,6 +77,6 @@ func DefaultOptions() Options {
|
|||||||
Tunnel: tunnel.NewTunnel(),
|
Tunnel: tunnel.NewTunnel(),
|
||||||
Router: router.DefaultRouter,
|
Router: router.DefaultRouter,
|
||||||
Proxy: mucp.NewProxy(),
|
Proxy: mucp.NewProxy(),
|
||||||
Resolver: &dns.Resolver{},
|
Resolver: ®istry.Resolver{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user