1
0
Fork 0

fix replication setup

This commit is contained in:
Andreas Streichardt 2017-04-05 10:18:56 +02:00
parent 7400f7f339
commit b8faee4415
1 changed files with 2 additions and 2 deletions

View File

@ -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 {};
} }