use sshdPortAllocation for sshdAddress instead of portAllocation to fix broken demos due to port shift.

This commit is contained in:
Patrick Kuo 2017-03-28 18:35:26 +01:00 committed by Mike Hearn
parent b75913c24a
commit 6ca0dffa6c

View File

@ -526,7 +526,7 @@ class DriverDSL(
override fun startNetworkMapService() {
val debugPort = if (isDebug) debugPortAllocation.nextPort() else null
val apiAddress = portAllocation.nextHostAndPort().toString()
val sshdAddress = portAllocation.nextHostAndPort().toString()
val sshdAddress = sshdPortAllocation.nextHostAndPort().toString()
val baseDirectory = driverDirectory / networkMapLegalName
val config = ConfigHelper.loadConfig(
baseDirectory = baseDirectory,