Browse Source

apply coding style

Shelikhoo 4 năm trước cách đây
mục cha
commit
fb6e449572
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      transport/internet/grpc/dial.go

+ 1 - 1
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)
 		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 {
 	if client, found := globalDialerMap[dest]; found && client.GetState() != connectivity.Shutdown {
 		return client, nil
 		return client, nil
 	}
 	}