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
fmt
  • Loading branch information
Emyrk committed Feb 26, 2024
commit 81d6a1ed034353510513c9693b28fcad7ebe930b
4 changes: 1 addition & 3 deletions cli/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ func (r *RootCmd) organizations() *clibase.Cmd {
}

func (r *RootCmd) switchOrganization() *clibase.Cmd {
var (
client = new(codersdk.Client)
)
client := new(codersdk.Client)

cmd := &clibase.Cmd{
Use: "switch <organization name | ID>",
Expand Down