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 == "" {