MXS-2314 Populate services with servers
The services whose servers are defined using a monitor, will now be populated from the monitor. Note, no consideration has yet been given to runtime changes.
This commit is contained in:
@ -1692,7 +1692,11 @@ static bool process_config_context(CONFIG_CONTEXT* context)
|
||||
}
|
||||
}
|
||||
|
||||
if (error_count)
|
||||
if (error_count == 0)
|
||||
{
|
||||
MonitorManager::populate_services();
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("%d errors were encountered while processing the configuration "
|
||||
"file '%s'.",
|
||||
|
||||
Reference in New Issue
Block a user