CLEANUP: resolvers/cli: make "show resolvers" use a locally-defined context
authorWilly Tarreau <w@1wt.eu>
Thu, 5 May 2022 13:39:02 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commitdb933d6fdd4a48819f7567f5aec12ca30f9f220a
tree3fc7070585e7253a7bcfc95dd96c9fd00debc590
parent6e3fc483f7d7278980b2059d1dab8b4f690f5656
CLEANUP: resolvers/cli: make "show resolvers" use a locally-defined context

The command was using cli.p0/p1/p2 to select which section to dump, the
current section and the current ns. Let's instead have a locally defined
"show_resolvers_ctx" section for this.
src/resolvers.c