Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sclevine committed Dec 4, 2024
1 parent aed751a commit 0375872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/teleport-update/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func Run(args []string) int {
modules.GetModules().PrintVersion()
default:
// This should only happen when there's a missing switch case above.
err = trace.Errorf("command %q not configured", command)
err = trace.Errorf("command %s not configured", command)
}
if errors.Is(err, autoupdate.ErrNotSupported) {
return autoupdate.CodeNotSupported
Expand Down Expand Up @@ -447,7 +447,7 @@ func cmdUninstall(ctx context.Context, ccfg *cliConfig) error {
// Ensure update can't run concurrently.
unlock, err := libutils.FSWriteLock(lockFile)
if err != nil {
return trace.Wrap(err, "failed to grab concurrent execution lock %q", lockFile)
return trace.Wrap(err, "failed to grab concurrent execution lock %s", lockFile)
}
defer func() {
if err := unlock(); err != nil {
Expand Down

0 comments on commit 0375872

Please sign in to comment.