MXS-2304 Use get_bool() instead of config_get_bool()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user