Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Linting
  • Loading branch information
Emyrk committed Mar 31, 2023
commit 8613b132af98b425a252d43bc8cb7794f65d6433
8 changes: 4 additions & 4 deletions coderd/database/dbfake/databasefake.go
Original file line number Diff line number Diff line change
Expand Up @@ -4896,7 +4896,7 @@ func (q *fakeQuerier) UpdateWorkspaceAgentStartupLogOverflowByID(_ context.Conte
return sql.ErrNoRows
}

func (q *fakeQuerier) GetWorkspaceProxies(ctx context.Context, organizationID uuid.UUID) ([]database.WorkspaceProxy, error) {
func (q *fakeQuerier) GetWorkspaceProxies(_ context.Context, organizationID uuid.UUID) ([]database.WorkspaceProxy, error) {
q.mutex.Lock()
defer q.mutex.Unlock()

Expand All @@ -4909,7 +4909,7 @@ func (q *fakeQuerier) GetWorkspaceProxies(ctx context.Context, organizationID uu
return cpy, nil
}

func (q *fakeQuerier) GetWorkspaceProxyByID(ctx context.Context, id uuid.UUID) (database.WorkspaceProxy, error) {
func (q *fakeQuerier) GetWorkspaceProxyByID(_ context.Context, id uuid.UUID) (database.WorkspaceProxy, error) {
q.mutex.Lock()
defer q.mutex.Unlock()

Expand All @@ -4921,7 +4921,7 @@ func (q *fakeQuerier) GetWorkspaceProxyByID(ctx context.Context, id uuid.UUID) (
return database.WorkspaceProxy{}, sql.ErrNoRows
}

func (q *fakeQuerier) InsertWorkspaceProxy(ctx context.Context, arg database.InsertWorkspaceProxyParams) (database.WorkspaceProxy, error) {
func (q *fakeQuerier) InsertWorkspaceProxy(_ context.Context, arg database.InsertWorkspaceProxyParams) (database.WorkspaceProxy, error) {
q.mutex.Lock()
defer q.mutex.Unlock()

Expand Down Expand Up @@ -4964,7 +4964,7 @@ func (q *fakeQuerier) UpdateWorkspaceProxy(ctx context.Context, arg database.Upd
return database.WorkspaceProxy{}, sql.ErrNoRows
}

func (q *fakeQuerier) UpdateWorkspaceProxyDeleted(ctx context.Context, arg database.UpdateWorkspaceProxyDeletedParams) error {
func (q *fakeQuerier) UpdateWorkspaceProxyDeleted(_ context.Context, arg database.UpdateWorkspaceProxyDeletedParams) error {
q.mutex.Lock()
defer q.mutex.Unlock()

Expand Down
2 changes: 2 additions & 0 deletions enterprise/coderd/workspaceproxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ func TestWorkspaceProxyCRUD(t *testing.T) {
t.Parallel()

t.Run("create", func(t *testing.T) {
t.Parallel()

dv := coderdtest.DeploymentValues(t)
dv.Experiments = []string{
string(codersdk.ExperimentMoons),
Expand Down