MXS-1848 Change monitorCamelCase to monitor_snake_case
This commit is contained in:
@ -213,7 +213,7 @@ struct subcommand showoptions[] =
|
||||
{0}
|
||||
},
|
||||
{
|
||||
"monitor", 1, 1, (FN)monitorShow,
|
||||
"monitor", 1, 1, (FN)monitor_show,
|
||||
"Show monitor details",
|
||||
"Usage: show monitor MONITOR\n"
|
||||
"\n"
|
||||
@ -224,7 +224,7 @@ struct subcommand showoptions[] =
|
||||
{ARG_TYPE_MONITOR}
|
||||
},
|
||||
{
|
||||
"monitors", 0, 0, (FN)monitorShowAll,
|
||||
"monitors", 0, 0, (FN)monitor_show_all,
|
||||
"Show all monitors",
|
||||
"Usage: show monitors",
|
||||
{0}
|
||||
@ -396,7 +396,7 @@ struct subcommand listoptions[] =
|
||||
{0}
|
||||
},
|
||||
{
|
||||
"monitors", 0, 0, (FN)monitorList,
|
||||
"monitors", 0, 0, (FN)monitor_list,
|
||||
"List all monitors",
|
||||
"Usage: list monitors",
|
||||
{0}
|
||||
@ -2409,7 +2409,7 @@ show_log_throttling(DCB *dcb)
|
||||
static void
|
||||
shutdown_monitor(DCB *dcb, MXS_MONITOR *monitor)
|
||||
{
|
||||
monitorStop(monitor);
|
||||
monitor_stop(monitor);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2421,7 +2421,7 @@ shutdown_monitor(DCB *dcb, MXS_MONITOR *monitor)
|
||||
static void
|
||||
restart_monitor(DCB *dcb, MXS_MONITOR *monitor)
|
||||
{
|
||||
monitorStart(monitor, monitor->parameters);
|
||||
monitor_start(monitor, monitor->parameters);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -691,7 +691,7 @@ static struct uri_table
|
||||
{ "/services", serviceGetList },
|
||||
{ "/listeners", serviceGetListenerList },
|
||||
{ "/modules", moduleGetList },
|
||||
{ "/monitors", monitorGetList },
|
||||
{ "/monitors", monitor_get_list },
|
||||
{ "/sessions", maxinfoSessionsAll },
|
||||
{ "/clients", maxinfoClientSessions },
|
||||
{ "/servers", serverGetList },
|
||||
|
||||
@ -238,7 +238,7 @@ exec_show_monitors(DCB *dcb, MAXINFO_TREE *tree)
|
||||
{
|
||||
RESULTSET *set;
|
||||
|
||||
if ((set = monitorGetList()) == NULL)
|
||||
if ((set = monitor_get_list()) == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -563,7 +563,7 @@ void exec_shutdown_monitor(DCB *dcb, MAXINFO_TREE *tree)
|
||||
MXS_MONITOR* monitor = monitor_find(tree->value);
|
||||
if (monitor)
|
||||
{
|
||||
monitorStop(monitor);
|
||||
monitor_stop(monitor);
|
||||
maxinfo_send_ok(dcb);
|
||||
}
|
||||
else
|
||||
@ -673,7 +673,7 @@ void exec_restart_monitor(DCB *dcb, MAXINFO_TREE *tree)
|
||||
MXS_MONITOR* monitor = monitor_find(tree->value);
|
||||
if (monitor)
|
||||
{
|
||||
monitorStart(monitor, monitor->parameters);
|
||||
monitor_start(monitor, monitor->parameters);
|
||||
maxinfo_send_ok(dcb);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user