Skip to content

Commit e7067cc

Browse files
fix: explicitly set ParentID to NullUUID{}
1 parent 6f27025 commit e7067cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/provisionerdserver/provisionerdserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,6 +2006,7 @@ func InsertWorkspaceResource(ctx context.Context, db database.Store, jobID uuid.
20062006
agentID := uuid.New()
20072007
dbAgent, err := db.InsertWorkspaceAgent(ctx, database.InsertWorkspaceAgentParams{
20082008
ID: agentID,
2009+
ParentID: uuid.NullUUID{},
20092010
CreatedAt: dbtime.Now(),
20102011
UpdatedAt: dbtime.Now(),
20112012
ResourceID: resource.ID,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy