Skip to content

Commit

Permalink
Fix instrumented approve policies calling apply (#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabianoshz authored Jan 12, 2023
1 parent c94e63c commit 33bc28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/instrumented_project_command_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (p *InstrumentedProjectCommandRunner) Apply(ctx command.ProjectContext) com
}

func (p *InstrumentedProjectCommandRunner) ApprovePolicies(ctx command.ProjectContext) command.ProjectResult {
return RunAndEmitStats("approve policies", ctx, p.projectCommandRunner.Apply, p.scope)
return RunAndEmitStats("approve policies", ctx, p.projectCommandRunner.ApprovePolicies, p.scope)
}

func (p *InstrumentedProjectCommandRunner) Import(ctx command.ProjectContext) command.ProjectResult {
Expand Down

0 comments on commit 33bc28f

Please sign in to comment.