CLEANUP: cli: initialize the whole appctx->ctx, not just the stats part
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 15:02:03 +0000 (17:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commit7bf20caacca1030ca4b8d36e8e44ec5bdce5088f
tree2b2bf56be1dc215b04a78f0c7c4ced1c9b8d32fe
parentce9123c005710c6f06c7df57524db4341ce79e2c
CLEANUP: cli: initialize the whole appctx->ctx, not just the stats part

Historically the CLI was a second access to the stats and we've continued
to initialize only the stats part when initializing the CLI. Let's make
sure we do that on the whole ctx instead. It's probably not more needed
at all nowadays but better stay on the safe side.
src/cli.c