Skip to content

feat: switch organization context in coder organizations #12265

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

Merged
merged 10 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linting
  • Loading branch information
Emyrk committed Feb 26, 2024
commit 255bbe5afe778f84e3d66ffa0973a359f26ecda6
2 changes: 1 addition & 1 deletion cli/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (r *RootCmd) switchOrganization() *clibase.Cmd {
var sdkError *codersdk.Error
if errors.As(err, &sdkError) {
if sdkError.Helper == "" && sdkError.StatusCode() != 500 {
sdkError.Helper = fmt.Sprintf("If this error persists, try unsetting your org with 'coder organizations switch \"\"'")
sdkError.Helper = `If this error persists, try unsetting your org with 'coder organizations switch ""'`
}
return sdkError
}
Expand Down