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

Commit4ee01dc

Browse files
authored
fix: remove orphan rbac warning message (#6979)
The request will fail if the user doesn't have permissions, so it seemsuseless to output this.
1 parent55c0b26 commit4ee01dc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎cli/delete.go‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ func (r *RootCmd) deleteWorkspace() *clibase.Cmd {
3737
}
3838

3939
varstate []byte
40-
41-
iforphan {
42-
cliui.Warn(
43-
inv.Stderr,
44-
"Orphaning workspace requires template edit permission",
45-
)
46-
}
47-
4840
build,err:=client.CreateWorkspaceBuild(inv.Context(),workspace.ID, codersdk.CreateWorkspaceBuildRequest{
4941
Transition:codersdk.WorkspaceTransitionDelete,
5042
ProvisionerState:state,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp