]> git.kaiwu.me - haproxy.git/commit
CLEANUP: cfgparse-global: move "cluster-secret" to its own parser
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2026 14:28:20 +0000 (16:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:31:07 +0000 (09:31 +0200)
commitd8efc7c92509252d15ef2ae68012c3c305d91764
tree77bd298424b877dd5dbb3336b7e2d9903d4b8bb8
parentbd96322cdbf553c945f95f112aed93dc2e7179fd
CLEANUP: cfgparse-global: move "cluster-secret" to its own parser

The keyword is now registered in cfg_kws and parsed by
cfg_parse_global_cluster_secret(), making it discoverable via "-dKcfg".
Note that using ha_alert() to warn about a repetition did not make much
sense since it didn't declare a fatal error, and since it doesn't prevent
from starting, it's better turned to a warning so that's what was done
here.
src/cfgparse-global.c