diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go b/vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go index d558a5b..ae35b4a 100644 --- a/vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go +++ b/vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go | |||
@@ -174,6 +174,9 @@ func (r *DiffFieldReader) readPrimitive( | |||
174 | 174 | ||
175 | func (r *DiffFieldReader) readSet( | 175 | func (r *DiffFieldReader) readSet( |
176 | address []string, schema *Schema) (FieldReadResult, error) { | 176 | address []string, schema *Schema) (FieldReadResult, error) { |
177 | // copy address to ensure we don't modify the argument | ||
178 | address = append([]string(nil), address...) | ||
179 | |||
177 | prefix := strings.Join(address, ".") + "." | 180 | prefix := strings.Join(address, ".") + "." |
178 | 181 | ||
179 | // Create the set that will be our result | 182 | // Create the set that will be our result |