CLEANUP: peers/cli: take the "show peers" context definition out of the appctx
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 12:26:31 +0000 (14:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commitcb8bf17900af14ff8b3e414dd274010663d51a56
treeede6d50a0da32282bd500dd0b752c4ddc783826d
parentc7e9706e0f3faff16a63c2fd9e6f7b0ef9914262
CLEANUP: peers/cli: take the "show peers" context definition out of the appctx

This makes use of the generic command context allocation so that the
appctx doesn't have to declare a specific one anymore. The context is
created during parsing. The code also uses st2 which deserves being
addressed in separate commit.
include/haproxy/applet-t.h
src/peers.c