Skip to content

Commit

Permalink
Fixed check
Browse files Browse the repository at this point in the history
  • Loading branch information
xrtm000 authored Nov 3, 2023
1 parent 61daf74 commit 62fd9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-it/src/test/scala/com/wavesplatform/it/Docker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class Docker(
val containerConfig = ContainerConfig
.builder()
.image(imageName)
.exposedPorts(if (nodeConfig.getStringList("waves.extensions").contains("com.wavesplatform.events.BlockchainUpdates")) "6881" else s"$internalDebuggerPort")
.exposedPorts(if (Try(nodeConfig.getStringList("waves.extensions").contains("com.wavesplatform.events.BlockchainUpdates")).getOrElse(false)) "6881" else s"$internalDebuggerPort")
.networkingConfig(ContainerConfig.NetworkingConfig.create(Map(wavesNetwork.name() -> endpointConfigFor(nodeName)).asJava))
.hostConfig(hostConfig)
.env(envs*)
Expand Down

0 comments on commit 62fd9ff

Please sign in to comment.