Skip to content

Commit

Permalink
bug/eng-1438: Fix iomembers map ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuria-zededa committed Dec 11, 2024
1 parent d0e0913 commit ab4d31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/schemas/schema_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ func diffSuppressIoMemberListOrder(mapKey string) schema.SchemaDiffSuppressFunc
for i, m := range o {
oldMapList[i] = IoMemberModelFromMap(m.(map[string]interface{}))
}
newMapList := make([]*models.IoMember, len(o))
for i, m := range o {
newMapList := make([]*models.IoMember, len(n))
for i, m := range n {
newMapList[i] = IoMemberModelFromMap(m.(map[string]interface{}))
}

Expand Down

0 comments on commit ab4d31a

Please sign in to comment.