Skip to content

Commit 784adba

Browse files
fix: fix TODO
1 parent 0e3cc40 commit 784adba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

enterprise/coderd/prebuilds/reconcile.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,8 @@ func (c *StoreReconciler) notifyPrebuildFailureLimitReached(ctx context.Context,
495495
return nil
496496
}
497497

498-
// TODO(yevhenii): remove owner from the list
499498
templateAdmins, err := c.store.GetUsers(ctx, database.GetUsersParams{
500-
RbacRole: []string{codersdk.RoleTemplateAdmin, codersdk.RoleOwner},
499+
RbacRole: []string{codersdk.RoleTemplateAdmin},
501500
})
502501
if err != nil {
503502
return xerrors.Errorf("fetch template admins: %w", err)

0 commit comments

Comments
 (0)