Skip to content

Commit 9b9b894

Browse files
authored
fix(coderd/database/db2sdk): add agent parent ID (#18310)
1 parent db8d5ae commit 9b9b894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/database/db2sdk/db2sdk.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ func WorkspaceAgent(derpMap *tailcfg.DERPMap, coordinator tailnet.Coordinator,
378378

379379
workspaceAgent := codersdk.WorkspaceAgent{
380380
ID: dbAgent.ID,
381+
ParentID: dbAgent.ParentID,
381382
CreatedAt: dbAgent.CreatedAt,
382383
UpdatedAt: dbAgent.UpdatedAt,
383384
ResourceID: dbAgent.ResourceID,

0 commit comments

Comments
 (0)