use noop resolver in network by default

This commit is contained in:
Asim Aslam
2020-08-09 22:11:57 +01:00
parent a7c70c66b1
commit 65e6ee8566
4 changed files with 17 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ package network
import (
"github.com/google/uuid"
"github.com/micro/go-micro/v3/network/resolver"
"github.com/micro/go-micro/v3/network/resolver/registry"
"github.com/micro/go-micro/v3/network/resolver/noop"
"github.com/micro/go-micro/v3/proxy"
"github.com/micro/go-micro/v3/proxy/mucp"
"github.com/micro/go-micro/v3/router"
@@ -107,6 +107,6 @@ func DefaultOptions() Options {
Tunnel: tunnel.NewTunnel(),
Router: regRouter.NewRouter(),
Proxy: mucp.NewProxy(),
Resolver: &registry.Resolver{},
Resolver: new(noop.Resolver),
}
}