helper/schema: comment
This commit is contained in:
parent
7f14708e71
commit
878d844f5c
|
@ -152,6 +152,8 @@ func (m schemaMap) diffList(
|
|||
|
||||
switch t := schema.Elem.(type) {
|
||||
case *Schema:
|
||||
// Copy the schema so that we can set Computed/ForceNew from
|
||||
// the parent schema (the TypeList).
|
||||
t2 := *t
|
||||
t2.Computed = schema.Computed
|
||||
t2.ForceNew = schema.ForceNew
|
||||
|
|
Loading…
Reference in New Issue