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

Commit110809e

Browse files
committed
remove dead code
1 parentbf891a4 commit110809e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

‎coderd/coderdtest/authorize.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,6 @@ func (a RBACAsserter) Reset() RBACAsserter {
142142

143143
typeAuthCalls []AuthCall
144144

145-
func (cAuthCalls)Mutate(mutfunc(cAuthCall)AuthCall)AuthCalls {
146-
fori:=rangec {
147-
c[i]=mut(c[i])
148-
}
149-
returnc
150-
}
151-
152-
func (cAuthCalls)String()string {
153-
varstr strings.Builder
154-
for_,call:=rangec {
155-
str.WriteString(fmt.Sprintf("%s: %s.%s\n",call.Actor.FriendlyName,call.Action,call.Object.Type))
156-
}
157-
returnstr.String()
158-
}
159-
160145
typeAuthCallstruct {
161146
rbac.AuthCall
162147

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp