Skip to content

fix(enterprise/dbcrypt): do not skip deleted users when encrypting or deleting #9694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 15, 2023
Prev Previous commit
Next Next commit
fixup! make AllUserIDs a fully-fledged query citizen
  • Loading branch information
johnstcn committed Sep 15, 2023
commit 0c11d6c52767b9c1d579b5988855e553cef8c53f
2 changes: 1 addition & 1 deletion coderd/database/dbfake/dbfake.go
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ func (q *FakeQuerier) ActivityBumpWorkspace(ctx context.Context, workspaceID uui
return sql.ErrNoRows
}

func (q *FakeQuerier) AllUserIDs(ctx context.Context) ([]uuid.UUID, error) {
func (q *FakeQuerier) AllUserIDs(_ context.Context) ([]uuid.UUID, error) {
userIDs := make([]uuid.UUID, 0, len(q.users))
for idx := range q.users {
userIDs[idx] = q.users[idx].ID
Expand Down