From fb6e44957235ff051a74f758dae104718831d917 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sun, 9 May 2021 15:16:42 +0100 Subject: [PATCH] apply coding style --- transport/internet/grpc/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/grpc/dial.go b/transport/internet/grpc/dial.go index e5410dcd5..17d543127 100644 --- a/transport/internet/grpc/dial.go +++ b/transport/internet/grpc/dial.go @@ -71,7 +71,7 @@ func getGrpcClient(ctx context.Context, dest net.Destination, dialOption grpc.Di globalDialerMap = make(map[net.Destination]*grpc.ClientConn) } - //TODO Should support chain proxy to the same destination + // TODO Should support chain proxy to the same destination if client, found := globalDialerMap[dest]; found && client.GetState() != connectivity.Shutdown { return client, nil }