From 03f1aeda01d9f54fd7b1f88ee43f196d85f8ab91 Mon Sep 17 00:00:00 2001 From: Maho Takara Date: Thu, 6 Jun 2024 09:11:35 +0000 Subject: [PATCH] delete comment and space --- clustering/agent.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clustering/agent.go b/clustering/agent.go index 39d95a79..2be20ffe 100644 --- a/clustering/agent.go +++ b/clustering/agent.go @@ -60,16 +60,10 @@ func (f defaultAgentFactory) New(ctx context.Context, cluster *mocov1beta2.MySQL Time: 1 * time.Minute, } cred := credentials.NewTLS(f.reloader.TLSClientConfig()) - /* - "grpc.WithBlock() DialOption" is deleted in NewClient - Please see, https://pkg.go.dev/google.golang.org/grpc#WithBlock - this DialOption is not supported by NewClient. Will be supported throughout 1.x. - */ conn, err := grpc.NewClient(addr, grpc.WithAuthority(cluster.PodHostname(index)), grpc.WithTransportCredentials(cred), grpc.WithKeepaliveParams(kp)) - if err != nil { return agentConn{}, err }