MXS-1775 Change MonitorInstance::configure() prototype

Now return boolean, to allow derived class to signal a failure
to configure.
This commit is contained in:
Johan Wikman
2018-05-25 14:06:06 +03:00
parent 0783af88ed
commit 9b7e37e112
12 changed files with 45 additions and 32 deletions

View File

@ -49,8 +49,9 @@ json_t* AuroraMonitor::diagnostics_json() const
return NULL;
}
void AuroraMonitor::configure(const MXS_CONFIG_PARAMETER* params)
bool AuroraMonitor::configure(const MXS_CONFIG_PARAMETER* params)
{
return true;
}
bool AuroraMonitor::has_sufficient_permissions() const