commit | 72a04238d5db04de9a9900756cedb7c9c5bf09d4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 05 17:00:20 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:36 2022 +0200 |
tree | 9f02d9dbcdd69d4cfcf5cb29d17b74ee8d403a55 | |
parent | c6dfef7a0b295261a3aaa943bf7bcab45cb3c43c [diff] |
CLEANUP: proxy/cli: make use of a locally defined context for "show servers" The command uses a pointer to the current proxy being dumped, one to the current server being dumped, an optional ID of the only proxy to dump (which is in fact used as a boolean), and a flag indicating if we're doing a "show servers conn" or a "show servers state". Let's move all this to a struct show_srv_ctx.