Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd867d0

Browse files
committed
remove unused function
1 parent 4495962 commit fd867d0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

coderd/database/dbfake/databasefake.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4551,15 +4551,6 @@ func (q *fakeQuerier) UpdateWorkspaceAgentLifecycleStateByID(_ context.Context,
45514551
return sql.ErrNoRows
45524552
}
45534553

4554-
// expandWorkspaceThins must be called from a locked context.
4555-
func (q *fakeQuerier) expandWorkspaceThins(thins []database.WorkspaceBuildThin) []database.WorkspaceBuild {
4556-
cpy := make([]database.WorkspaceBuild, 0, len(thins))
4557-
for _, thin := range thins {
4558-
cpy = append(cpy, q.expandWorkspaceThin(thin))
4559-
}
4560-
return cpy
4561-
}
4562-
45634554
// expandWorkspaceThin must be called from a locked context.
45644555
func (q *fakeQuerier) expandWorkspaceThin(thin database.WorkspaceBuildThin) database.WorkspaceBuild {
45654556
w, _ := q.GetWorkspaceByID(context.Background(), thin.WorkspaceID)

0 commit comments

Comments
 (0)