Skip to content

Commit

Permalink
fix: Panic During Policy Storage (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbernays committed May 27, 2022
1 parent 80f2b31 commit 570d9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/policy/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ func (e *Executor) createCheckResult(ctx context.Context, policyExecution *state
checkResult := &state.CheckResult{
ExecutionId: policyExecution.Id,
ExecutionTimestamp: policyExecution.Timestamp,
Name: qr.Name,
Name: q.Name,
Selector: normalizeCheckSelector(policyExecution, e.PolicyPath, q.Name),
Description: qr.Description,
Description: q.Title,
Status: statusFailed,
}
if err != nil {
Expand Down

0 comments on commit 570d9e2

Please sign in to comment.