Skip to content

Commit

Permalink
Set ParallelPolicyCheckEnabled to the same value as ParallelPlanEnabl…
Browse files Browse the repository at this point in the history
  • Loading branch information
msarvar authored and krrrr38 committed Dec 16, 2022
1 parent bfb4922 commit bf76dce
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions server/events/project_command_context_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,31 +186,32 @@ func newProjectCommandContext(ctx *CommandContext,
}

return models.ProjectCommandContext{
CommandName: cmd,
ApplyCmd: applyCmd,
BaseRepo: ctx.Pull.BaseRepo,
EscapedCommentArgs: escapedCommentArgs,
AutomergeEnabled: automergeEnabled,
DeleteSourceBranchOnMerge: deleteSourceBranchOnMerge,
ParallelApplyEnabled: parallelApplyEnabled,
ParallelPlanEnabled: parallelPlanEnabled,
AutoplanEnabled: projCfg.AutoplanEnabled,
Steps: steps,
HeadRepo: ctx.HeadRepo,
Log: ctx.Log,
PullMergeable: ctx.PullMergeable,
ProjectPlanStatus: projectPlanStatus,
Pull: ctx.Pull,
ProjectName: projCfg.Name,
ApplyRequirements: projCfg.ApplyRequirements,
RePlanCmd: planCmd,
RepoRelDir: projCfg.RepoRelDir,
RepoConfigVersion: projCfg.RepoCfgVersion,
TerraformVersion: projCfg.TerraformVersion,
User: ctx.User,
Verbose: verbose,
Workspace: projCfg.Workspace,
PolicySets: policySets,
CommandName: cmd,
ApplyCmd: applyCmd,
BaseRepo: ctx.Pull.BaseRepo,
EscapedCommentArgs: escapedCommentArgs,
AutomergeEnabled: automergeEnabled,
DeleteSourceBranchOnMerge: deleteSourceBranchOnMerge,
ParallelApplyEnabled: parallelApplyEnabled,
ParallelPlanEnabled: parallelPlanEnabled,
ParallelPolicyCheckEnabled: parallelPlanEnabled,
AutoplanEnabled: projCfg.AutoplanEnabled,
Steps: steps,
HeadRepo: ctx.HeadRepo,
Log: ctx.Log,
PullMergeable: ctx.PullMergeable,
ProjectPlanStatus: projectPlanStatus,
Pull: ctx.Pull,
ProjectName: projCfg.Name,
ApplyRequirements: projCfg.ApplyRequirements,
RePlanCmd: planCmd,
RepoRelDir: projCfg.RepoRelDir,
RepoConfigVersion: projCfg.RepoCfgVersion,
TerraformVersion: projCfg.TerraformVersion,
User: ctx.User,
Verbose: verbose,
Workspace: projCfg.Workspace,
PolicySets: policySets,
}
}

Expand Down

0 comments on commit bf76dce

Please sign in to comment.