8000 rename unused variable · coder/coder@7cba28c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7cba28c

Browse files
committed
rename unused variable
1 parent 61b27bf commit 7cba28c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 4 additions & 1 deletion
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)
0