mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 07:11:20 +02:00
MINOR: map/acl/dumpstats: remove the "Done." message
By convention, the HAProxy CLI doesn't return message if the opration is sucessfully done. The MAP and ACL returns the "Done." message, an its noise the output during big MAP or ACL injection.
This commit is contained in:
parent
f6b7001338
commit
07e78c50b5
@ -1295,8 +1295,7 @@ static int stats_sock_parse_request(struct stream_interface *si, char *line)
|
|||||||
pat_ref_prune(appctx->ctx.map.ref);
|
pat_ref_prune(appctx->ctx.map.ref);
|
||||||
|
|
||||||
/* return response */
|
/* return response */
|
||||||
appctx->ctx.cli.msg = "Done.\n";
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
appctx->st0 = STAT_CLI_PRINT;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1788,8 +1787,7 @@ static int stats_sock_parse_request(struct stream_interface *si, char *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* The set is done, send message. */
|
/* The set is done, send message. */
|
||||||
appctx->ctx.cli.msg = "Done.\n";
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
appctx->st0 = STAT_CLI_PRINT;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
@ -2138,8 +2136,7 @@ static int stats_sock_parse_request(struct stream_interface *si, char *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* The deletion is done, send message. */
|
/* The deletion is done, send message. */
|
||||||
appctx->ctx.cli.msg = "Done.\n";
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
appctx->st0 = STAT_CLI_PRINT;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else { /* unknown "del" parameter */
|
else { /* unknown "del" parameter */
|
||||||
@ -2215,8 +2212,7 @@ static int stats_sock_parse_request(struct stream_interface *si, char *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* The add is done, send message. */
|
/* The add is done, send message. */
|
||||||
appctx->ctx.cli.msg = "Done.\n";
|
appctx->st0 = STAT_CLI_PROMPT;
|
||||||
appctx->st0 = STAT_CLI_PRINT;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else { /* unknown "del" parameter */
|
else { /* unknown "del" parameter */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user