BUG/MINOR: vars: do not talk about global section in CLI errors for set-var
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 08:23:26 +0000 (10:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2021 09:01:12 +0000 (11:01 +0200)
commitc767eebf1f2130447cef3269f4a46ed164410a75
tree56d9c365661a316aeecc729f5a556dfbb9071d68
parent1402fef58aedbac671dd81b4ac93dc7008fcde50
BUG/MINOR: vars: do not talk about global section in CLI errors for set-var

When attempting to set a variable does not start with the "proc" scope on
the CLI, we used to emit "only proc is permitted in the global section"
which obviously is a leftover from the initial code.

This may be backported to 2.4.
src/vars.c