- Notifications
You must be signed in to change notification settings - Fork928
fix: handle CLI default organization when none exists in <v2.9.0 coderd#12594
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You should add a comment when we can remove this, just so it doesn't live forever.
I thought about it and this can actually occur in the future too. If you create a new user to a single organization, and that org is not the default, this remains helpful. |
Uh oh!
There was an error while loading.Please reload this page.
If the coder cli is talking to an older version of Coderd, the
isDefault
field will be false.This can also happen if a user does not belong to the default org.