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

uninstall does't check if the component exists #2208

Closed
aytrack opened this issue Jun 6, 2023 · 0 comments · Fixed by #2209
Closed

uninstall does't check if the component exists #2208

aytrack opened this issue Jun 6, 2023 · 0 comments · Fixed by #2209
Labels
type/bug Categorizes issue as related to a bug.

Comments

@aytrack
Copy link

aytrack commented Jun 6, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
# component does't exist.
tiup uninstall noexits:v1.0.0
# component version does't exist. 
tiup uninstall tidb:v20.1.0
  1. What did you expect to see?
    report error for not exist version

  2. What did you see instead?

~ tiup uninstall noexits:v1.0.0
Error: open /Users/aytrack/.tiup/components/noexits: no such file or directory
➜  ~ tiup uninstall tidb:v20.1.0
Uninstalled component `tidb:v20.1.0` successfully!
  1. What version of TiUP are you using (tiup --version)?
➜  ~ tiup --version
1.12.1 tiup
Go Version: go1.19.9
Git Ref: v1.12.2
GitHash: dbba46be27f451b1a923c3fd64bcdfd9b254e0ec
@aytrack aytrack added the type/bug Categorizes issue as related to a bug. label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant