MXS-2271 Cleanup internal monitor header and its functions
Some functions still accessed the servers-array. Most functions are now inside class. Removed unused defines.
This commit is contained in:
@ -2186,7 +2186,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
/** Start all monitors */
|
||||
monitor_start_all();
|
||||
MonitorManager::start_all_monitors();
|
||||
|
||||
if (cnf->config_check)
|
||||
{
|
||||
@ -2258,7 +2258,7 @@ int main(int argc, char** argv)
|
||||
mxs_admin_shutdown();
|
||||
|
||||
/*< Stop all monitors */
|
||||
monitor_stop_all();
|
||||
MonitorManager::stop_all_monitors();
|
||||
|
||||
/*< Destroy all monitors */
|
||||
MonitorManager::destroy_all_monitors();
|
||||
|
||||
Reference in New Issue
Block a user