talos/internal/integration
Utku Ozdemir 5dff164f1c
fix: fix error output of cli action tracker
Before we started a reboot/shutdown/reset/upgrade action with the action tracker (`--wait`), we were setting a flag to prevent cobra from printing the returned error from the command.

This was to prevent the error from being printed twice, as the reporter of the action tracker already prints any errors occurred during the action execution.

But if the error happens too early - i.e. before we even started the status printer goroutine, then that error wouldn't be printed at all, as we have suppressed the errors.

This PR moves the suppression flag to be set after the status printer is started - so we still do not double-print the errors, but neither do we suppress any early-stage error from being printed.

Closes siderolabs/talos#7900.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2023-10-27 21:16:54 +02:00
..
api chore: drop UpdateEndpointSuite 2023-10-04 00:26:59 +05:30
base chore: update gen and COSI runtime 2023-09-22 12:13:13 +04:00
cli fix: fix error output of cli action tracker 2023-10-27 21:16:54 +02:00
k8s chore: rename talos-systems/talos to siderolabs/talos 2022-11-03 16:50:32 +04:00
provision feat: support n-5 latest Kubernetes versions 2023-09-29 13:41:56 +04:00
integration_test.go feat: support n-5 latest Kubernetes versions 2023-09-29 13:41:56 +04:00
version_test.go chore: rename talos-systems/talos to siderolabs/talos 2022-11-03 16:50:32 +04:00