Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4656d7

Browse files
authored
chore: add help to error to reset organization context (#13616)
1 parent495eea4 commitc4656d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ func CurrentOrganization(r *RootCmd, inv *serpent.Invocation, client *codersdk.C
657657
})
658658

659659
ifindex<0 {
660-
return codersdk.Organization{},xerrors.Errorf("organization %q not found, are you sure you are a member of this organization?",selected)
660+
return codersdk.Organization{},xerrors.Errorf("organization %q not found, are you sure you are a member of this organization? If unsure, run 'coder organizations set\"\" ' to reset your current context.",selected)
661661
}
662662
returnorgs[index],nil
663663
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp