mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-31 02:22:07 +00:00
BUG/MINOR: stats: fix a typo on a closing tag for a server tracking another one
The "via" column includes a link to the tracked server but instead of closing the link with a </a> tag, a new tag is opened. This typo should also be backported to 1.4
This commit is contained in:
parent
2039bba41b
commit
d5de76a25b
@ -2984,11 +2984,11 @@ static int stats_dump_sv_stats(struct stream_interface *si, struct proxy *px, in
|
||||
else if (sv != ref) {
|
||||
if (sv->state & SRV_MAINTAIN)
|
||||
chunk_appendf(&trash,
|
||||
"<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\"><a></td>",
|
||||
"<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\"></a></td>",
|
||||
ref->proxy->id, ref->id);
|
||||
else
|
||||
chunk_appendf(&trash,
|
||||
"<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\">via %s/%s<a></td>",
|
||||
"<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\">via %s/%s</a></td>",
|
||||
ref->proxy->id, ref->id, ref->proxy->id, ref->id);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user