MXS-2304 Use get_bool() instead of config_get_bool()

This commit is contained in:
Esa Korhonen
2019-01-31 15:49:05 +02:00
parent 7cb969b0d9
commit b357717149
19 changed files with 76 additions and 78 deletions

View File

@ -64,7 +64,7 @@ json_t* MMMonitor::diagnostics_json() const
bool MMMonitor::configure(const MXS_CONFIG_PARAMETER* params)
{
m_detectStaleMaster = config_get_bool(params, "detect_stale_master");
m_detectStaleMaster = params->get_bool("detect_stale_master");
return true;
}