Skip to content

Commit

Permalink
change admin to adhoc, also check why we dont exit early
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Mar 11, 2024
1 parent b3cac15 commit d565404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/neptune/workflows/internal/terraform/job/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (r *JobRunner) apply(executionCtx *ExecutionContext, planFile string, step
func (r *JobRunner) plan(ctx *ExecutionContext, mode *terraform.PlanMode, workflowMode terraform.WorkflowMode, extraArgs []string) (activities.TerraformPlanResponse, error) {
// TODO: Don't we already check this earlier? Why are we checking again, is there somewhere else this can get called?
if workflowMode == terraform.Adhoc {
// Admin mode doesn't need to run a plan.
// Adhoc mode doesn't need to run a plan.
return activities.TerraformPlanResponse{}, nil
}
var resp activities.TerraformPlanResponse
Expand Down

0 comments on commit d565404

Please sign in to comment.