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:
@ -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
|
||||
|
Reference in New Issue
Block a user