Skip to content

Commit

Permalink
make OpenTracing.managed public (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Schenk authored Apr 22, 2020
1 parent 881c0ab commit ebbc806
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object OpenTracing {
def live(tracer: Tracer, rootOperation: String = "ROOT"): URLayer[Clock, OpenTracing] =
ZLayer.fromManaged(managed(tracer, rootOperation))

private[opentracing] def managed(tracer0: Tracer, rootOperation: String): URManaged[Clock, OpenTracing.Service] =
def managed(tracer0: Tracer, rootOperation: String): URManaged[Clock, OpenTracing.Service] =
ZManaged.make(
for {
span <- UIO(tracer0.buildSpan(rootOperation).start())
Expand Down

0 comments on commit ebbc806

Please sign in to comment.