BUG/MINOR: stats: fix inversion of failed header rewrites and other statuses

The tooltip in the HTML stats page was damaged by commit 1b0f85e47 ("MINOR:
stats: also report the failed header rewrites warnings on the stats page"),
due to the header rewrites counter being inserted at the wrong place and
taking the place of the other statuses.

This is only for 1.9, no backport is needed.
This commit is contained in:
Willy Tarreau 2018-12-14 13:48:44 +01:00
parent f157384803
commit feead3aff7
1 changed files with 2 additions and 2 deletions

View File

@ -1214,8 +1214,8 @@ static int stats_dump_fields_html(struct buffer *out,
U2H(stats[ST_F_HRSP_3XX].u.u64),
U2H(stats[ST_F_HRSP_4XX].u.u64),
U2H(stats[ST_F_HRSP_5XX].u.u64),
U2H(stats[ST_F_WREW].u.u64),
U2H(stats[ST_F_HRSP_OTHER].u.u64));
U2H(stats[ST_F_HRSP_OTHER].u.u64),
U2H(stats[ST_F_WREW].u.u64));
}
chunk_appendf(out, "<tr><th>- Queue time:</th><td>%s</td><td>ms</td></tr>", U2H(stats[ST_F_QTIME].u.u32));