Skip to content

Commit 2d5261f

Browse files
committed
Fix gen
1 parent 2018cdc commit 2d5261f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

coderd/wsconncache/wsconncache.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ func (c *Conn) CloseWithError(err error) error {
5454
if c.transport != nil {
5555
c.transport.CloseIdleConnections()
5656
}
57+
c.timeoutMutex.Lock()
58+
defer c.timeoutMutex.Unlock()
5759
if c.timeout != nil {
5860
c.timeout.Stop()
5961
}

site/src/api/typesGenerated.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ export interface WorkspaceApp {
426426
readonly id: string
427427
readonly name: string
428428
readonly command?: string
429-
readonly access_url?: string
430429
readonly icon: string
431430
}
432431

site/src/testHelpers/entities.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,14 @@ export const MockDeletedWorkspace: TypesGen.Workspace = { ...MockWorkspace, late
210210

211211
export const MockOutdatedWorkspace: TypesGen.Workspace = { ...MockFailedWorkspace, outdated: true }
212212

213+
export const MockWorkspaceApp: TypesGen.WorkspaceApp = {
214+
id: "test-app",
215+
name: "test-app",
216+
icon: "",
217+
}
218+
213219
export const MockWorkspaceAgent: TypesGen.WorkspaceAgent = {
220+
apps: [MockWorkspaceApp],
214221
architecture: "amd64",
215222
created_at: "",
216223
environment_variables: {},

0 commit comments

Comments
 (0)