mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 17:16:48 +02:00
CLEANUP: stream: Properly indent current_rule line in "show sess all"
This line is not related to the response channel but to the stream. Thus it must be indented at the same level as stream-interfaces, connections, channels...
This commit is contained in:
@@ -3435,7 +3435,7 @@ static int stats_dump_full_strm_to_buffer(struct stream_interface *si, struct st
|
||||
|
||||
if (strm->current_rule_list && strm->current_rule) {
|
||||
const struct act_rule *rule = strm->current_rule;
|
||||
chunk_appendf(&trash, " current_rule=\"%s\" [%s:%d]\n", rule->kw->kw, rule->conf.file, rule->conf.line);
|
||||
chunk_appendf(&trash, " current_rule=\"%s\" [%s:%d]\n", rule->kw->kw, rule->conf.file, rule->conf.line);
|
||||
}
|
||||
|
||||
if (ci_putchk(si_ic(si), &trash) == -1)
|
||||
|
||||
Reference in New Issue
Block a user