Skip to content

Commit f2c90c1

Browse files
committed
linting
1 parent ee6aabc commit f2c90c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6138,7 +6138,7 @@ func (q *FakeQuerier) RevokeDBCryptKey(_ context.Context, activeKeyDigest string
61386138
return sql.ErrNoRows
61396139
}
61406140

6141-
func (q *FakeQuerier) SoftDeleteUserByID(ctx context.Context, id uuid.UUID) error {
6141+
func (q *FakeQuerier) SoftDeleteUserByID(_ context.Context, id uuid.UUID) error {
61426142
q.mutex.Lock()
61436143
defer q.mutex.Unlock()
61446144

coderd/userauth_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ func TestUserOAuth2Github(t *testing.T) {
679679
require.Empty(t, links)
680680

681681
// Make sure a user_link cannot be created with a deleted user.
682+
// nolint:gocritic // Unit test
682683
_, err = db.InsertUserLink(dbauthz.AsSystemRestricted(ctx), database.InsertUserLinkParams{
683684
UserID: deleted.ID,
684685
LoginType: "github",

0 commit comments

Comments
 (0)