From 9b9b89499e8e773e6da64e42ee3b3a36334ef215 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Tue, 10 Jun 2025 20:07:05 +0300 Subject: [PATCH] fix(coderd/database/db2sdk): add agent parent ID (#18310) --- coderd/database/db2sdk/db2sdk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/coderd/database/db2sdk/db2sdk.go b/coderd/database/db2sdk/db2sdk.go index 9978aa0bca..4a7871f21d 100644 --- a/coderd/database/db2sdk/db2sdk.go +++ b/coderd/database/db2sdk/db2sdk.go @@ -378,6 +378,7 @@ func WorkspaceAgent(derpMap *tailcfg.DERPMap, coordinator tailnet.Coordinator, workspaceAgent := codersdk.WorkspaceAgent{ ID: dbAgent.ID, + ParentID: dbAgent.ParentID, CreatedAt: dbAgent.CreatedAt, UpdatedAt: dbAgent.UpdatedAt, ResourceID: dbAgent.ResourceID,