From 8a31c475ac1c8b84eded9f2977e25c7368756477 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Sun, 5 Jun 2016 17:12:06 -0500 Subject: [PATCH] Also fix clientRegisterMethod use in echo client example --- examples/echo/echo-client/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/echo/echo-client/Main.hs b/examples/echo/echo-client/Main.hs index f6377cb..62eb1c0 100644 --- a/examples/echo/echo-client/Main.hs +++ b/examples/echo/echo-client/Main.hs @@ -27,7 +27,7 @@ regClient :: IO () regClient = do withGRPC $ \grpc -> withClient grpc (ClientConfig "localhost" 50051) $ \client -> ntimes 100000 $ do - regMethod <- clientRegisterMethod client echoMethod "localhost:50051" Normal + regMethod <- clientRegisterMethod client echoMethod Normal reqResult <- clientRegisteredRequest client regMethod 1 "hi" M.empty case reqResult of Left x -> error $ "Got client error: " ++ show x