Skip to content

Commit

Permalink
remove eager pet service account creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tlangs committed Sep 19, 2024
1 parent 712a4ac commit 4d5ca9e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2527,11 +2527,11 @@ class WorkspaceService(
)

// proactively create pet service account for user to start propagation of IAM
_ <- traceDBIOWithParent("samDAO.getPetServiceAccountKeyForUser", parentContext)(childContext =>
DBIO.from(
samDAO.getPetServiceAccountKeyForUser(savedWorkspace.googleProjectId, ctx.userInfo.userEmail)
)
)
// _ <- traceDBIOWithParent("samDAO.getPetServiceAccountKeyForUser", parentContext)(childContext =>
// DBIO.from(
// samDAO.getPetServiceAccountKeyForUser(savedWorkspace.googleProjectId, ctx.userInfo.userEmail)
// )
// )
} yield savedWorkspace
}

Expand Down

0 comments on commit 4d5ca9e

Please sign in to comment.