Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Julie Vogelman <[email protected]>
  • Loading branch information
juliev0 committed Sep 21, 2024
1 parent 3cdd599 commit c01d119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func SplitMap(m map[string]any, paths []string, excludedPaths []string, pathSepa
return onlyPaths, withoutPaths, nil
}

// Sort the paths slices before using it to avoid maps merging in case the slice were to
// Sort the paths slice before using it to avoid maps merging in case the slice were to
// include deeply nested fields and then the higher level fields (ex: []string{"map.field.inner2", "map"})
sort.Strings(paths)
sort.Strings(excludedPaths)
Expand Down

0 comments on commit c01d119

Please sign in to comment.