mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-09 23:39:55 +00:00
MINOR: server state: missing LF (\n) on error message printed when parsing server state file
There is no LF characters printed at the end of the error message returned by the function when applying server state found in a file.
This commit is contained in:
parent
b1af23ebea
commit
0821bb9ec0
@ -2167,9 +2167,11 @@ static void srv_update_state(struct server *srv, int version, char **params)
|
||||
}
|
||||
|
||||
out:
|
||||
if (msg->len)
|
||||
if (msg->len) {
|
||||
chunk_appendf(msg, "\n");
|
||||
Warning("server-state application failed for server '%s/%s'%s",
|
||||
srv->proxy->id, srv->id, msg->str);
|
||||
}
|
||||
}
|
||||
|
||||
/* This function parses all the proxies and only take care of the backends (since we're looking for server)
|
||||
|
Loading…
Reference in New Issue
Block a user