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

[Question]: Cache list will crash if there is no cache file #453

Closed
3 of 4 tasks
AlexsJones opened this issue May 23, 2023 · 0 comments · Fixed by #455
Closed
3 of 4 tasks

[Question]: Cache list will crash if there is no cache file #453

AlexsJones opened this issue May 23, 2023 · 0 comments · Fixed by #455
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@AlexsJones
Copy link
Member

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

No response

Kubernetes Version

No response

Host OS and its Version

No response

Steps to reproduce

  1. install ks8gpt latest
  2. run k8sgpt cache list
    There will be a panic open /home/<user>/.cache/k8sgpt no such file or directory

Expected behaviour

This should not crash and should be gracefully handled

Actual behaviour

No response

Additional Information

No response

@AlexsJones AlexsJones added bug Something isn't working enhancement New feature or request good first issue Good for newcomers labels May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant