Skip to content

Commit 7ca1292

Browse files
committed
fixup! feat: add audit logging database schema
1 parent f32167c commit 7ca1292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/database/databasefake/databasefake.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ func (q *fakeQuerier) DeleteGitSSHKey(_ context.Context, userID uuid.UUID) error
15901590
return sql.ErrNoRows
15911591
}
15921592

1593-
func (q *fakeQuerier) GetAuditLogsBefore(ctx context.Context, arg database.GetAuditLogsBeforeParams) ([]database.AuditLog, error) {
1593+
func (q *fakeQuerier) GetAuditLogsBefore(_ context.Context, arg database.GetAuditLogsBeforeParams) ([]database.AuditLog, error) {
15941594
q.mutex.RLock()
15951595
defer q.mutex.RUnlock()
15961596

@@ -1622,7 +1622,7 @@ func (q *fakeQuerier) GetAuditLogsBefore(ctx context.Context, arg database.GetAu
16221622
return logs, nil
16231623
}
16241624

1625-
func (q *fakeQuerier) InsertAuditLog(ctx context.Context, arg database.InsertAuditLogParams) (database.AuditLog, error) {
1625+
func (q *fakeQuerier) InsertAuditLog(_ context.Context, arg database.InsertAuditLogParams) (database.AuditLog, error) {
16261626
q.mutex.Lock()
16271627
defer q.mutex.Unlock()
16281628

0 commit comments

Comments
 (0)