garden
garden copied to clipboard
0.13: [Bug]: `exit` from dev mode tries to connect with cloud dashboard for logged out user
Garden Bonsai (0.13) Bug
Current Behavior
If a user runs logout
in dev mode followed by exit
, it shows following cloud-dashboard warning:
cloud-dashboard → Logged in to https://app.garden.io, but could not find the project 'garden-core'. Command results for this command run will not be available in Cloud Dashboard.
Expected behavior
No connection should be made to cloud once user is logged out and user should not see any warning related to cloud.
Reproducible example
Steps:
- Run
garden login
. - Run
garden dev
to enter dev mode. - Run
logout
in dev mode. - Run
exit
to exit dev mode and you'll see this warning.
Workaround
No workaround.
Your environment
- OS: macOS
- How I'm running Kubernetes: docker-desktop
garden version
0.13.0
While this is a minor issue, it's rather awkward and would be nice to fix.