mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 15:21:29 +02:00
BUG/MINOR: check: fix tcpcheck error message
add the keyword 'string' when required (error in a tcpcheck expect string)
This commit is contained in:
parent
e26bf05115
commit
96a5c9b577
@ -641,7 +641,7 @@ static void chk_report_conn_err(struct connection *conn, int errno_bck, int expi
|
|||||||
}
|
}
|
||||||
else if (check->last_started_step && check->last_started_step->action == TCPCHK_ACT_EXPECT) {
|
else if (check->last_started_step && check->last_started_step->action == TCPCHK_ACT_EXPECT) {
|
||||||
if (check->last_started_step->string)
|
if (check->last_started_step->string)
|
||||||
chunk_appendf(chk, " (string '%s')", check->last_started_step->string);
|
chunk_appendf(chk, " (expect string '%s')", check->last_started_step->string);
|
||||||
else if (check->last_started_step->expect_regex)
|
else if (check->last_started_step->expect_regex)
|
||||||
chunk_appendf(chk, " (expect regex)");
|
chunk_appendf(chk, " (expect regex)");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user