remove vpath resolver

This commit is contained in:
Asim Aslam
2020-10-17 15:00:40 +01:00
parent d3b37f14cf
commit f2728a7fee
3 changed files with 4 additions and 104 deletions

View File

@@ -2,7 +2,7 @@ package router
import (
"github.com/micro/go-micro/v3/api/resolver"
"github.com/micro/go-micro/v3/api/resolver/vpath"
"github.com/micro/go-micro/v3/api/resolver/path"
"github.com/micro/go-micro/v3/registry"
"github.com/micro/go-micro/v3/registry/mdns"
)
@@ -26,7 +26,7 @@ func NewOptions(opts ...Option) Options {
}
if options.Resolver == nil {
options.Resolver = vpath.NewResolver(
options.Resolver = path.NewResolver(
resolver.WithHandler(options.Handler),
)
}