mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-12 08:27:24 +00:00
MINOR: cli: Remove useless call to bi_putchk
[wt: while it could seem suspicious, the preceeding call to dump_servers_state() indeed flushes the trash in case anything is emitted. No backport needed though.]
This commit is contained in:
parent
1002aac161
commit
1821d3c25e
@ -1360,11 +1360,6 @@ static int cli_io_handler_servers_state(struct appctx *appctx)
|
||||
if (curproxy->cap & PR_CAP_BE) {
|
||||
if (!dump_servers_state(si, &trash))
|
||||
return 0;
|
||||
|
||||
if (bi_putchk(si_ic(si), &trash) == -1) {
|
||||
si_applet_cant_put(si);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/* only the selected proxy is dumped */
|
||||
if (appctx->ctx.server_state.iid)
|
||||
|
Loading…
Reference in New Issue
Block a user