From f242ab1cb0f192a11ac68cb49ce8f30967cd9c04 Mon Sep 17 00:00:00 2001 From: Brandon Schurman Date: Tue, 14 May 2024 09:53:12 -0400 Subject: [PATCH] try trimming address --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index 7c3cf3795..f0deda4c9 100644 --- a/client/client.go +++ b/client/client.go @@ -167,6 +167,7 @@ func New(ctx context.Context, address string, opts ...ClientOpt) (*Client, error gopts = append(gopts, grpc.WithChainStreamInterceptor(stream...)) gopts = append(gopts, customDialOptions...) + address = strings.Trim(address, "tcp://") fmt.Println("address: " + address) conn, err := grpc.DialContext(ctx, address, gopts...) if err != nil {