Skip to content

Commit

Permalink
fix: Fixes workspace creation
Browse files Browse the repository at this point in the history
  • Loading branch information
salehkhazaei committed Jul 31, 2024
1 parent 2d4eff2 commit 9039b40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/workspace/statemanager/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ func (s *Service) CreateWorkspace(ctx context.Context) error {
}

for _, tr := range []api.TransactionID{api.Transaction_CreateMasterCredential,
api.Transaction_EnsureCredentialExists, api.Transaction_CreateServiceAccountRoles} {
api.Transaction_EnsureCredentialExists, api.Transaction_CreateServiceAccountRoles,
api.Transaction_EnsureCredentialOnboarded, api.Transaction_EnsureDiscoveryFinished,
api.Transaction_EnsureJobsRunning, api.Transaction_EnsureJobsFinished,
api.Transaction_CreateRoleBinding} {
err := s.db.CreateWorkspaceTransaction(&db.WorkspaceTransaction{
WorkspaceID: workspace.ID,
TransactionID: tr,
Expand Down

0 comments on commit 9039b40

Please sign in to comment.