mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
IRS Demo config is now able to be run in any order if default directory settings are present.
This commit is contained in:
parent
8010836f14
commit
7b2214e888
@ -133,8 +133,13 @@ fun main(args: Array<String>) {
|
||||
exitProcess(1)
|
||||
}
|
||||
} else {
|
||||
val nodeParams = configureNodeParams(role, demoArgs, options)
|
||||
runNode(nodeParams)
|
||||
// If the directories are default assume both will be and ensure all config is created
|
||||
if(!options.has(demoArgs.dirArg)) {
|
||||
createNodeConfig(createNodeAParams());
|
||||
createNodeConfig(createNodeBParams());
|
||||
}
|
||||
|
||||
runNode(configureNodeParams(role, demoArgs, options))
|
||||
exitProcess(0)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user