Skip to content

Commit

Permalink
fix linter errors from latest goalngci upgrade (#480)
Browse files Browse the repository at this point in the history
Reacting to changes in abcxyz/pkg#314
  • Loading branch information
shankiyani authored Mar 13, 2024
1 parent 1f7844c commit ee62e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/common/render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,13 +463,13 @@ func executeOneStep(ctx context.Context, stepIdx int, step *spec.Step, sp *stepP
}
if !celResult {
logger.DebugContext(ctx, `skipping step because "if" expression evaluated to false`,
"step_index_from_0", stepIdx,
"step_index_from_zero", stepIdx,
"action", step.Action.Val,
"cel_expr", step.If.Val)
return nil
}
logger.DebugContext(ctx, `proceeding to execute step because "if" expression evaluated to true`,
"step_index_from_0", stepIdx,
"step_index_from_zero", stepIdx,
"action", step.Action.Val,
"cel_expr", step.If.Val)
}
Expand Down

0 comments on commit ee62e5b

Please sign in to comment.