Skip to content

Commit

Permalink
test from #1195
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle committed Sep 14, 2023
1 parent af738e0 commit ae51f5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helper/schema/field_reader_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ func (r *ConfigFieldReader) readField(
// the address with the real list index. i.e. set.50 might actually
// map to set.12 in the config, since it is in list order in the
// config, not indexed by set value.

updatedAddress := make([]string, len(address))
copy(updatedAddress, address)
address = updatedAddress

for i, v := range schemaList {
// Sets are the only thing that cause this issue.
if v.Type != TypeSet {
Expand Down

0 comments on commit ae51f5f

Please sign in to comment.