mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-06 07:31:57 +01:00
BUILD/MINOR: stats: remove unexpected argument to stats_dump_json_header()
Commit 05ee213 ("MEDIUM: stats: Add JSON output option to show (info|stat)")
used to pass argument "uri" to the aforementionned function which doesn't
take any. It's probably a leftover from multiple iterations of the same
patchset. Spotted by Dmitry Sivachenko. No backport is needed.
This commit is contained in:
parent
3a471935e6
commit
9d7fb63e33
@ -2530,7 +2530,7 @@ static int stats_dump_stat_to_buffer(struct stream_interface *si, struct uri_aut
|
||||
if (appctx->ctx.stats.flags & STAT_FMT_HTML)
|
||||
stats_dump_html_head(uri);
|
||||
else if (appctx->ctx.stats.flags & STAT_FMT_JSON)
|
||||
stats_dump_json_header(uri);
|
||||
stats_dump_json_header();
|
||||
else if (!(appctx->ctx.stats.flags & STAT_FMT_TYPED))
|
||||
stats_dump_csv_header();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user