From e7926b989d300f763b451a82bf0c2ef5ef937920 Mon Sep 17 00:00:00 2001 From: "Jason C.H" Date: Sat, 15 May 2021 16:15:08 +0800 Subject: [PATCH] Import direct resovler for grpc client (#913) --- transport/grpc/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/transport/grpc/client.go b/transport/grpc/client.go index 2e93104dc..3767a19fd 100644 --- a/transport/grpc/client.go +++ b/transport/grpc/client.go @@ -9,6 +9,7 @@ import ( "github.com/go-kratos/kratos/v2/registry" "github.com/go-kratos/kratos/v2/transport" "github.com/go-kratos/kratos/v2/transport/grpc/resolver/discovery" + _ "github.com/go-kratos/kratos/v2/transport/grpc/resolver/direct" "google.golang.org/grpc" "google.golang.org/grpc/balancer/roundrobin"