]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] config: report correct keywords for "observe"
authorWilly Tarreau <w@1wt.eu>
Fri, 22 Oct 2010 12:53:40 +0000 (14:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:34 +0000 (19:04 +0200)
Keywords were changed just before the commit but not in the help message.
Spotted by Hank A. Paulson.
(cherry picked from commit fdd46a0766dccec704aa1bd5acb0ac99a801c549)

src/cfgparse.c

index d1ffa371a3eb9034ad48446340ee9ff4a4dca06c..25e78ad7a00f0539c59570b1673913eaa82871a0 100644 (file)
@@ -3623,7 +3623,7 @@ stats_error_parsing:
                                }
                                else {
                                        Alert("parsing [%s:%d]: '%s' expects one of 'none', "
-                                               "'l4events', 'http-responses' but get '%s'\n",
+                                               "'layer4', 'layer7' but got '%s'\n",
                                                file, linenum, args[cur_arg], args[cur_arg + 1]);
                                        err_code |= ERR_ALERT | ERR_FATAL;
                                        goto out;
@@ -3642,7 +3642,7 @@ stats_error_parsing:
                                        newsrv->onerror = HANA_ONERR_MARKDWN;
                                else {
                                        Alert("parsing [%s:%d]: '%s' expects one of 'fastinter', "
-                                               "'fail-check', 'sudden-death' or 'mark-down' but get '%s'\n",
+                                               "'fail-check', 'sudden-death' or 'mark-down' but got '%s'\n",
                                                file, linenum, args[cur_arg], args[cur_arg + 1]);
                                        err_code |= ERR_ALERT | ERR_FATAL;
                                        goto out;