Fix monitor creation

When the monitor was created, no parameters were passed to it.
This commit is contained in:
Markus Mäkelä
2019-03-20 18:17:08 +02:00
parent 0f1bc60431
commit c2fc80f122
3 changed files with 35 additions and 18 deletions

View File

@ -1299,7 +1299,7 @@ static void createMonitor(DCB* dcb, const char* name, const char* module)
{
dcb_printf(dcb, "Monitor '%s' already exists\n", name);
}
else if (runtime_create_monitor(name, module))
else if (runtime_create_monitor(name, module, nullptr))
{
dcb_printf(dcb, "Created monitor '%s'\n", name);
}