diff options
author | Ava Hahn <a.hahn@f5.com> | 2024-07-03 12:44:56 -0700 |
---|---|---|
committer | Ava Hahn <110854134+avahahn@users.noreply.github.com> | 2024-07-08 11:58:09 -0700 |
commit | 706ea1a6890ac243d0aded8cfbcbd152affc8701 (patch) | |
tree | dcdf33182863012e30a8a306dd0e509a070c660a /pkg/npm | |
parent | b5fe3eaf1a0bcbc98d274902f5e38f2c2ad71dbc (diff) | |
download | unit-706ea1a6890ac243d0aded8cfbcbd152affc8701.tar.gz unit-706ea1a6890ac243d0aded8cfbcbd152affc8701.tar.bz2 |
tools/unitctl: Enable Multi Socket Support
This commit refactors the CLI code to accept
multiple instances of the control socket flag.
All subcommands except for edit and save now
support being run against multiple specified
instances of unitd.
* control_socket_addresses CLI field is now a vector
* centralize error related logic into the error module
* wait_for_socket now returns a vector of sockets. all
sockets in vector are waited upon and validated
* extraneous code is removed
* applications, execute, import, listeners, and status
commands all run against N control sockets now
* edit and save commands return error when run against
a single control socket
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to 'pkg/npm')
0 files changed, 0 insertions, 0 deletions