Skip to content

Commit

Permalink
fix: local variable name should be start lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
takaishi committed Jun 13, 2023
1 parent 08d367e commit 03a0ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/terraform/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ func NewPlanData(input []byte) (*PlanData, error) {
if err != nil {
return nil, fmt.Errorf("failed to sanitize plan: %w", err)
}
FormattedJsonPlan, err := format.FormatJsonPlan(sanitizedPlan)
formattedJsonPlan, err := format.FormatJsonPlan(sanitizedPlan)
if err != nil {
return nil, fmt.Errorf("failed to prettify plan: %w", err)
}
planData := PlanData{}
for _, c := range FormattedJsonPlan.ResourceChanges {
for _, c := range formattedJsonPlan.ResourceChanges {
if c.Change.Actions.NoOp() || c.Change.Actions.Read() {
continue
}
Expand Down

0 comments on commit 03a0ef5

Please sign in to comment.