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:
Esa Korhonen
2019-03-07 18:51:54 +02:00
parent e7abc53b70
commit ac5ee1278c
11 changed files with 139 additions and 211 deletions

View File

@ -3614,7 +3614,7 @@ int create_new_service(CONFIG_CONTEXT* obj)
if (!cluster.empty())
{
Monitor* pMonitor = monitor_find(cluster.c_str());
Monitor* pMonitor = MonitorManager::find_monitor(cluster.c_str());
if (pMonitor)
{