Skip to content

Commit d952af0

Browse files
committed
rename unused variable
1 parent 0913355 commit d952af0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

coderd/database/dbmem/dbmem.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -5664,7 +5664,10 @@ func (q *FakeQuerier) GetUserNotificationPreferences(_ context.Context, userID u
56645664
return out, nil
56655665
}
56665666

5667-
func (q *FakeQuerier) GetUserStatusCountsByDay(ctx context.Context, arg database.GetUserStatusCountsByDayParams) ([]database.GetUserStatusCountsByDayRow, error) {
5667+
func (q *FakeQuerier) GetUserStatusCountsByDay(_ context.Context, arg database.GetUserStatusCountsByDayParams) ([]database.GetUserStatusCountsByDayRow, error) {
5668+
q.mutex.RLock()
5669+
defer q.mutex.RUnlock()
5670+
56685671
err := validateDatabaseType(arg)
56695672
if err != nil {
56705673
return nil, err

0 commit comments

Comments
 (0)