From 0df36201e53bad753d6caf4d543fe8422eff28d4 Mon Sep 17 00:00:00 2001 From: fuxiao <576101059@qq.com> Date: Tue, 25 Oct 2022 16:57:45 +0800 Subject: [PATCH] upgrade version to v0.0.5 --- transport/grpc/internal/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/grpc/internal/client/client.go b/transport/grpc/internal/client/client.go index 675da85d..1b1e3988 100644 --- a/transport/grpc/internal/client/client.go +++ b/transport/grpc/internal/client/client.go @@ -15,7 +15,7 @@ type Options struct { } func Dial(opts *Options) (*grpc.ClientConn, error) { - options := make([]grpc.DialOption, 1) + options := make([]grpc.DialOption, 0, 1) if opts.IsSecure { if opts.CertFile == "" {