mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 15:21:29 +02:00
BUG/MINOR: cli: fix missing break in command line parser
Yesterday's commit 12833bb ("MINOR: cli: add the new "show pools" command") missed a "break" statement causing trouble to the "show map" command. Spotted by Thierry Fournier.
This commit is contained in:
parent
cc08d2c9ff
commit
4efb353e47
@ -2180,6 +2180,7 @@ static void cli_io_handler(struct stream_interface *si)
|
|||||||
case STAT_CLI_O_MLOOK:
|
case STAT_CLI_O_MLOOK:
|
||||||
if (stats_map_lookup(si))
|
if (stats_map_lookup(si))
|
||||||
appctx->st0 = STAT_CLI_PROMPT;
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
|
break;
|
||||||
case STAT_CLI_O_POOLS:
|
case STAT_CLI_O_POOLS:
|
||||||
if (stats_dump_pools_to_buffer(si))
|
if (stats_dump_pools_to_buffer(si))
|
||||||
appctx->st0 = STAT_CLI_PROMPT;
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user