diff options
Diffstat (limited to 'kamon-playground/src/main/scala')
-rw-r--r-- | kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala index 7d7494eb..1164b811 100644 --- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala +++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala @@ -85,8 +85,10 @@ object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuil path("site") { traceName("FinalGetSite-3") { complete { - for (f1 <- pipeline(Get("http://127.0.0.1:9090/ok")); - f2 <- pipeline(Get("http://www.google.com/search?q=mkyong"))) yield "Ok Double Future" + for ( + f1 ← pipeline(Get("http://127.0.0.1:9090/ok")); + f2 ← pipeline(Get("http://www.google.com/search?q=mkyong")) + ) yield "Ok Double Future" } } } ~ |