Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[teleport-update] Fix usage of trace #49388

Open
wants to merge 1 commit into
base: sclevine/teleport-update-namespace
Choose a base branch
from

Conversation

sclevine
Copy link
Member

@sclevine sclevine commented Nov 23, 2024

@hugoShaka pointed out to me that trace.Errorf does not accurately record stack traces when used to wrap errors. This PR migrates teleport-update from trace.Errorf to trace.Wrap for error wrapping.


The teleport-update binary will be used to enable, disable, and trigger automatic Teleport agent updates. The new auto-updates system manages a local installation of the cluster-specified version of Teleport stored in /var/lib/teleport/versions.

RFD: #47126
Goal (internal): https://github.com/gravitational/cloud/issues/10289

@sclevine sclevine added the no-changelog Indicates that a PR does not require a changelog entry label Nov 23, 2024
@sclevine sclevine force-pushed the sclevine/teleport-update-namespace branch from eeaab53 to 9f5117e Compare November 23, 2024 02:32
@sclevine sclevine force-pushed the sclevine/teleport-update-trace branch from 71c7832 to 80316ba Compare November 23, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants