Skip to content

Commit

Permalink
record changed records
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Dec 18, 2024
1 parent 0bc434f commit c5f278c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/diff2/diff2.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ func byHelper(fn func(cc *CompareConfig) (ChangeList, int), existing models.Reco
// Regroup existing/desiredd for easy comparison:
cc := NewCompareConfig(dc.Name, existing, desired, compFunc)

dc.Records = desired

// Analyze and generate the instructions:
instructions, actualChangeCount := fn(cc)

Expand Down

0 comments on commit c5f278c

Please sign in to comment.