Skip to content

Commit

Permalink
Make anti multi source merging case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Apr 18, 2022
1 parent d4724c1 commit c4df977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/engine/processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ func Merge(aos []*Objects) (*Objects, error) {
)

// To ease anti-cross-the-beams on UniqueSource we temporarily group each source and combine them in the end
sourcemap := make(map[string]*Objects)
sourcemap := make(map[interface{}]*Objects)

nosourceobjects := NewObjects()

for _, mergeobject := range needsmerge {
if mergeobject.HasAttr(UniqueSource) {
us := mergeobject.OneAttrString(UniqueSource)
us := attributeValueToIndex(mergeobject.OneAttr(UniqueSource))
if sourcemap[us] == nil {
sourcemap[us] = NewObjects()
}
Expand Down

0 comments on commit c4df977

Please sign in to comment.