Fix improper use of monitorStart

Some uses of monitorStart didn't pass the monitor parameters to the
function call. This caused runtime configuration of monitors to not have
any parameters as they never got their parameters.
This commit is contained in:
Markus Mäkelä
2017-01-06 08:58:02 +02:00
parent 75c257327e
commit 72ea3ad453
2 changed files with 2 additions and 40 deletions

View File

@ -661,7 +661,7 @@ void exec_restart_monitor(DCB *dcb, MAXINFO_TREE *tree)
MONITOR* monitor = monitor_find(tree->value);
if (monitor)
{
monitorStart(monitor, NULL);
monitorStart(monitor, monitor->parameters);
maxinfo_send_ok(dcb);
}
else