From: Balvinder Singh Rawat Date: Sat, 14 Mar 2020 06:41:50 +0000 (+0530) Subject: DOC: correct typo in alert message about rspirep X-Git-Tag: v2.1.4~25 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=d2871daedb65e66d7400c60ee588a6fc228fef19;p=haproxy-2.1.git DOC: correct typo in alert message about rspirep This message comes when we run: haproxy -c -V -f /etc/haproxy/haproxy.cfg [ALERT] 072/233727 (30865) : parsing [/etc/haproxy/haproxy.cfg:34] : The 'rspirep' directive is not supported anymore sionce HAProxy 2.1. Use 'http-response replace-header' instead. [ALERT] 072/233727 (30865) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg [ALERT] 072/233727 (30865) : Fatal errors found in configuration. (cherry picked from commit def595e2df82c1d2932fd7275f6e51ba18a0961a) Signed-off-by: Willy Tarreau --- diff --git a/src/cfgparse-listen.c b/src/cfgparse-listen.c index 4fc5e9a..6861663 100644 --- a/src/cfgparse-listen.c +++ b/src/cfgparse-listen.c @@ -3823,7 +3823,7 @@ stats_error_parsing: goto out; } else if (!strcmp(args[0], "rspirep")) { /* replace response header from a regex ignoring case */ - ha_alert("parsing [%s:%d] : The '%s' directive is not supported anymore sionce HAProxy 2.1. " + ha_alert("parsing [%s:%d] : The '%s' directive is not supported anymore since HAProxy 2.1. " "Use 'http-response replace-header' instead.\n", file, linenum, args[0]); err_code |= ERR_ALERT | ERR_FATAL; goto out;