]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse-global: add explicit error messages in cfg_parse_global_env_opts
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 28 Apr 2025 21:00:17 +0000 (23:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 May 2025 13:37:45 +0000 (15:37 +0200)
commit8a4b3216f94d0f18d37f0c4408edb1a141a643a2
treef98733694acc614c16899b75d79d6c347efcea4c
parent994cc58576f52d23c830a8acb6ab81a2a3e28477
MINOR: cfgparse-global: add explicit error messages in cfg_parse_global_env_opts

When env variable name or value are not provided for setenv/presetenv it's not
clear from the old error message shown at stderr, what exactly is missed. User
needs to search in it's configuration.

Let's add more explicit error messages about these inconsistencies.

No need to be backported.
src/cfgparse-global.c