Skip to content

Commit 0c88f39

Browse files
committed
remove use of ActorMaterializer
1 parent b99274f commit 0c88f39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import org.apache.pekko
2020
import pekko.annotation.InternalApi
2121
import pekko.stream.stage.GraphStageLogic
2222
import pekko.event.{ LogSource, LoggingAdapter, NoLogging }
23-
import pekko.stream.ActorMaterializer
23+
import pekko.stream.Materializer
2424

2525
// TODO Try to reconcile with what Pekko provides in StageLogging.
2626
// We thought this could be removed when https://github.com/akka/akka/issues/18793 had been implemented
@@ -44,8 +44,8 @@ private[pekko] trait StageLoggingWithOverride extends GraphStageLogic {
4444
logOverride match {
4545
case DefaultNoLogging =>
4646
materializer match {
47-
case a: ActorMaterializer => pekko.event.Logging(a.system, logSource)(LogSource.fromClass)
48-
case _ => NoLogging
47+
case m: Materializer => pekko.event.Logging(m.system, logSource)(LogSource.fromClass)
48+
case _ => NoLogging
4949
}
5050
case x => x
5151
}

0 commit comments

Comments
 (0)