]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse/stktable: fix error message on stktable_init() failure
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 3 Nov 2023 11:10:56 +0000 (12:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Nov 2023 16:30:30 +0000 (17:30 +0100)
commitb6a9eca88d49226ddae87dd88aef83d389e5d62b
tree42e08eae0f3231066c2f12b93d81b4c34b0b10ce
parent6376fe91427239c8650fba90166de8b0b396cf0b
BUG/MINOR: cfgparse/stktable: fix error message on stktable_init() failure

As a result of copy paste error in 1b8e68e ("MEDIUM: stick-table: Stop
handling stick-tables as proxies."), postparsing stktable_init() failures
were reported as such for named peer tables:

   "Proxy 'table_name': failed to initialize stick table."

Now they are correctly reported like this:

   "Parsing [file:line]: failed to initialize 'table_name' stick-table."

This should be backported to every stable versions.
src/cfgparse.c