CORDA-1510 - Split Doorman / NM config - fix

This commit is contained in:
Katelyn Baker 2018-07-12 13:50:08 +01:00
parent c2ca2d000b
commit 46ba780c7b

View File

@ -184,7 +184,7 @@ open class NodeStartup(val args: Array<String>) {
}
private fun shouldRegisterWithNetwork(cmdlineOptions: CmdLineOptions, conf: NodeConfiguration): Boolean {
val compatibilityZoneURL = conf.compatibilityZoneURL
val compatibilityZoneURL = conf.networkServices?.doormanURL
return !(!cmdlineOptions.isRegistration || compatibilityZoneURL == null)
}