mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -243,7 +243,6 @@ func generateRbacObjects(templateSource string) ([]byte, error) {
|
||||
var out bytes.Buffer
|
||||
list := make([]Definition, 0)
|
||||
for t, v := range policy.RBACPermissions {
|
||||
v := v
|
||||
list = append(list, Definition{
|
||||
PermissionDefinition: v,
|
||||
Type: t,
|
||||
|
Reference in New Issue
Block a user