mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-13 15:54:08 -05: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
1 changed files with 1 additions and 0 deletions
|
|
@ -2180,6 +2180,7 @@ static void cli_io_handler(struct stream_interface *si)
|
|||
case STAT_CLI_O_MLOOK:
|
||||
if (stats_map_lookup(si))
|
||||
appctx->st0 = STAT_CLI_PROMPT;
|
||||
break;
|
||||
case STAT_CLI_O_POOLS:
|
||||
if (stats_dump_pools_to_buffer(si))
|
||||
appctx->st0 = STAT_CLI_PROMPT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue