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:
@ -327,7 +327,7 @@ static bool process_argument(const MODULECMD* cmd,
|
||||
break;
|
||||
|
||||
case MODULECMD_ARG_MONITOR:
|
||||
if ((arg->value.monitor = monitor_find((char*)value)))
|
||||
if ((arg->value.monitor = MonitorManager::find_monitor((char*) value)))
|
||||
{
|
||||
const char* eff_name = mxs_module_get_effective_name(arg->value.monitor->m_module.c_str());
|
||||
if (MODULECMD_ALLOW_NAME_MISMATCH(type) || strcasecmp(cmd->domain, eff_name) == 0)
|
||||
|
Reference in New Issue
Block a user