Skip to content

Commit 449dfa5

Browse files
committed
Linter
1 parent ae7c130 commit 449dfa5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coderd/rbac/object_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ func TestObjectEqual(t *testing.T) {
178178

179179
// TestAllResources ensures that all resources have a unique type name.
180180
func TestAllResources(t *testing.T) {
181+
t.Parallel()
182+
181183
var typeNames []string
182184
resources := rbac.AllResources()
183185
for _, r := range resources {

scripts/rbacgen/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func allResources(pkg *packages.Package) []string {
8484
if ok && obj.Type().String() == "github.com/coder/coder/coderd/rbac.Object" {
8585
resources = append(resources, obj.Name())
8686
}
87-
8887
}
8988
sort.Strings(resources)
9089
return resources

0 commit comments

Comments
 (0)