Rename MXS_MONITOR::databases to MXS_MONITOR::monitored_servers

More descriptive name. Some local varaibles could now also be
renamed to be more descriptive, but that's for another day.
This commit is contained in:
Johan Wikman
2017-10-02 15:31:54 +03:00
parent 8d03876e3e
commit 68432bbaa3
9 changed files with 71 additions and 71 deletions

View File

@ -125,7 +125,7 @@ monitorMain(void *arg)
lock_monitor_servers(monitor);
servers_status_pending_to_current(monitor);
for (MXS_MONITORED_SERVER *ptr = monitor->databases; ptr; ptr = ptr->next)
for (MXS_MONITORED_SERVER *ptr = monitor->monitored_servers; ptr; ptr = ptr->next)
{
update_server_status(monitor, ptr);