mirror of https://gitee.com/bigwinds/arangodb
fix replication setup
This commit is contained in:
parent
7400f7f339
commit
b8faee4415
|
@ -140,7 +140,7 @@ function replicationStatic (options) {
|
||||||
instanceInfo,
|
instanceInfo,
|
||||||
customInstanceInfos,
|
customInstanceInfos,
|
||||||
startStopHandlers) {
|
startStopHandlers) {
|
||||||
pu.shutdownInstance(customInstanceInfos.preStart.instanceInfo, options);
|
pu.shutdownInstance(customInstanceInfos.postStart.instanceInfo, options);
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ function replicationSync (options) {
|
||||||
instanceInfo,
|
instanceInfo,
|
||||||
customInstanceInfos,
|
customInstanceInfos,
|
||||||
startStopHandlers) {
|
startStopHandlers) {
|
||||||
pu.shutdownInstance(customInstanceInfos.preStart.instanceInfo, options);
|
pu.shutdownInstance(customInstanceInfos.postStart.instanceInfo, options);
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue