MultiVersionApi::createCluster was throwing network_not_setup rather than returning it.
This commit is contained in:
parent
2f291d8955
commit
84f7565d04
|
@ -1242,7 +1242,7 @@ ThreadFuture<Reference<ICluster>> MultiVersionApi::createCluster(const char *clu
|
|||
lock.enter();
|
||||
if(!networkSetup) {
|
||||
lock.leave();
|
||||
throw network_not_setup();
|
||||
return network_not_setup();
|
||||
}
|
||||
lock.leave();
|
||||
|
||||
|
|
Loading…
Reference in New Issue