commit | 21b069dca83e2bc29d720e74f22848d8c24aa48d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Nov 23 17:15:08 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 24 16:59:27 2016 +0100 |
tree | 320eae67e8f62319abe26e57734f94c33fd0b510 | |
parent | de57a578ba79f37092025ccf571e388a23ce679c [diff] |
MINOR: server: create new function cli_find_server() to find a server Several CLI commands require a server, so let's have a function to look this one up and prepare the appropriate error message and the appctx's state in case of failure.