Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[scankeys] support context cancellation to interrupt keys scan #47653

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Oct 17, 2024

This PR enables program cancellation to propagate when CTRL+C is pressed during the execution of tsh scan keys.

Changelog: Fixed a bug that prevented users from canceling tsh scan keys executions.

This PR allow program cancellation propagation when CTRL+C is invoked during `tsh scan keys`.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-actions github-actions bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Oct 17, 2024
@tigrato tigrato added this pull request to the merge queue Oct 17, 2024
Merged via the queue into master with commit 7608065 Oct 17, 2024
42 of 43 checks passed
@tigrato tigrato deleted the tigrato/tsh-scan-fix-cancel branch October 17, 2024 10:11
@public-teleport-github-review-bot

@tigrato See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
backport/branch/v15 backport/branch/v16 size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants