Artem Chernyshev 5c6648e3d2
fix: make talosctl command return nonzero error codes if it had errors
Multinode requests were printing out the errors for each node to stderr,
but they didn't set the global error.

Refactor the code a bit to use a single function for handling that logic
to avoid rewriting it in many other places.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-08-12 14:19:45 +03:00
..
2021-09-13 22:33:47 +03:00
2021-09-13 22:33:47 +03:00
2022-07-19 01:23:09 +04:00
2021-09-13 22:33:47 +03:00