Fix instrumented approve policies calling apply (#2977)

This commit is contained in:
Fabiano Soares Honorato
2023-01-12 19:06:35 -03:00
committed by GitHub
parent c94e63c37b
commit 33bc28fa85

View File

@@ -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 {