Skip to content

Commit

Permalink
load_balancer: fix parameter type in lb_start() command export
Browse files Browse the repository at this point in the history
(cherry picked from commit f5875b5)
  • Loading branch information
rvlad-patrascu committed Apr 18, 2019
1 parent b3cc53d commit e0a27c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/load_balancer/load_balancer.c
Expand Up @@ -117,17 +117,17 @@ static void lb_update_max_loads(unsigned int ticks, void *param);

static cmd_export_t cmds[]={
{"lb_start", (cmd_function)w_lb_start, {
{CMD_PARAM_STR,0,0},
{CMD_PARAM_INT,0,0},
{CMD_PARAM_STR, fixup_resources, fixup_free_resources},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0}, {0,0,0}},
REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE},
{"load_balance", (cmd_function)w_lb_start_or_next, {
{CMD_PARAM_STR,0,0},
{CMD_PARAM_INT,0,0},
{CMD_PARAM_STR, fixup_resources, fixup_free_resources},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0}, {0,0,0}},
REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE},
{"lb_start_or_next", (cmd_function)w_lb_start_or_next, {
{CMD_PARAM_STR,0,0},
{CMD_PARAM_INT,0,0},
{CMD_PARAM_STR, fixup_resources, fixup_free_resources},
{CMD_PARAM_STR|CMD_PARAM_OPT,0,0}, {0,0,0}},
REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE},
Expand Down

0 comments on commit e0a27c6

Please sign in to comment.