Skip to content

Commit 00a4e73

Browse files
committed
Fix context usage
1 parent 58964c9 commit 00a4e73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

coderd/database/dbfake/dbfake.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ func (q *FakeQuerier) GetWorkspaceAgentLifecycleStateByID(ctx context.Context, i
30713071
}, nil
30723072
}
30733073

3074-
func (q *FakeQuerier) GetWorkspaceAgentLogSourcesByAgentIDs(ctx context.Context, ids []uuid.UUID) ([]database.WorkspaceAgentLogSource, error) {
3074+
func (q *FakeQuerier) GetWorkspaceAgentLogSourcesByAgentIDs(_ context.Context, ids []uuid.UUID) ([]database.WorkspaceAgentLogSource, error) {
30753075
q.mutex.RLock()
30763076
defer q.mutex.RUnlock()
30773077

@@ -3121,7 +3121,7 @@ func (q *FakeQuerier) GetWorkspaceAgentMetadata(_ context.Context, workspaceAgen
31213121
return metadata, nil
31223122
}
31233123

3124-
func (q *FakeQuerier) GetWorkspaceAgentScriptsByAgentIDs(ctx context.Context, ids []uuid.UUID) ([]database.WorkspaceAgentScript, error) {
3124+
func (q *FakeQuerier) GetWorkspaceAgentScriptsByAgentIDs(_ context.Context, ids []uuid.UUID) ([]database.WorkspaceAgentScript, error) {
31253125
q.mutex.RLock()
31263126
defer q.mutex.RUnlock()
31273127

@@ -4467,7 +4467,7 @@ func (q *FakeQuerier) InsertWorkspaceAgent(_ context.Context, arg database.Inser
44674467
return agent, nil
44684468
}
44694469

4470-
func (q *FakeQuerier) InsertWorkspaceAgentLogSources(ctx context.Context, arg database.InsertWorkspaceAgentLogSourcesParams) ([]database.WorkspaceAgentLogSource, error) {
4470+
func (q *FakeQuerier) InsertWorkspaceAgentLogSources(_ context.Context, arg database.InsertWorkspaceAgentLogSourcesParams) ([]database.WorkspaceAgentLogSource, error) {
44714471
err := validateDatabaseType(arg)
44724472
if err != nil {
44734473
return nil, err
@@ -4554,7 +4554,7 @@ func (q *FakeQuerier) InsertWorkspaceAgentMetadata(_ context.Context, arg databa
45544554
return nil
45554555
}
45564556

4557-
func (q *FakeQuerier) InsertWorkspaceAgentScripts(ctx context.Context, arg database.InsertWorkspaceAgentScriptsParams) ([]database.WorkspaceAgentScript, error) {
4557+
func (q *FakeQuerier) InsertWorkspaceAgentScripts(_ context.Context, arg database.InsertWorkspaceAgentScriptsParams) ([]database.WorkspaceAgentScript, error) {
45584558
err := validateDatabaseType(arg)
45594559
if err != nil {
45604560
return nil, err

0 commit comments

Comments
 (0)