From 01bd50ad09d0a6768fb49be4d3ad6945d243ff27 Mon Sep 17 00:00:00 2001 From: david hill Date: Wed, 31 Jan 2018 16:33:57 -0600 Subject: [PATCH] MCOL-1034 --- procmgr/main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/procmgr/main.cpp b/procmgr/main.cpp index 6fa8fd5a8..01153d11f 100644 --- a/procmgr/main.cpp +++ b/procmgr/main.cpp @@ -2106,13 +2106,6 @@ void pingDeviceThread() } } - // if disabled and amazon, break out - if ( (opState == oam::AUTO_DISABLED ) && amazon ) - break; - - //start SIMPLEX runtype processes on a SIMPLEX runtype module - string moduletype = moduleName.substr(0,MAX_MODULE_TYPE_SIZE); - // reset up mysql rep slaves is master changed if ( downPrimaryUM && ( MySQLRep == "y" ) ) @@ -2123,6 +2116,13 @@ void pingDeviceThread() processManager.setMySQLReplication(devicenetworklist); } + // if disabled and amazon, break out + if ( (opState == oam::AUTO_DISABLED ) && amazon ) + break; + + //start SIMPLEX runtype processes on a SIMPLEX runtype module + string moduletype = moduleName.substr(0,MAX_MODULE_TYPE_SIZE); + try{ oam.getSystemConfig(moduletype, moduletypeconfig); }