mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-20 22:01:49 -04:00
MINOR: Remove trailing '.' from email alert messages
This removes the trailing '.' from both the header and the body of email alerts. The main motivation for this change is to make the format of email alerts generated from srv_set_stopped() consistent with those generated from set_server_check_status(). Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
dfb124fe0d
commit
00b69e08d5
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ void srv_set_stopped(struct server *s, const char *reason)
|
|||
"%sServer %s/%s is DOWN", s->flags & SRV_F_BACKUP ? "Backup " : "",
|
||||
s->proxy->id, s->id);
|
||||
|
||||
send_email_alert(s, "%s.", trash.str);
|
||||
send_email_alert(s, "%s", trash.str);
|
||||
srv_append_status(&trash, s, reason, xferred, 0);
|
||||
Warning("%s.\n", trash.str);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue