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"