mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-02 12:17:39 -06:00
helper/schema: remove unused field
This commit is contained in:
parent
361d00347a
commit
3cbcafe989
@ -18,11 +18,10 @@ import (
|
||||
// The most relevant methods to take a look at are Get, Set, and Partial.
|
||||
type ResourceData struct {
|
||||
// Settable (internally)
|
||||
schema map[string]*Schema
|
||||
config *terraform.ResourceConfig
|
||||
state *terraform.InstanceState
|
||||
diff *terraform.InstanceDiff
|
||||
diffing bool
|
||||
schema map[string]*Schema
|
||||
config *terraform.ResourceConfig
|
||||
state *terraform.InstanceState
|
||||
diff *terraform.InstanceDiff
|
||||
|
||||
// Don't set
|
||||
multiReader *MultiLevelFieldReader
|
||||
|
@ -223,10 +223,9 @@ func (m schemaMap) Diff(
|
||||
result.Attributes = make(map[string]*terraform.ResourceAttrDiff)
|
||||
|
||||
d := &ResourceData{
|
||||
schema: m,
|
||||
state: s,
|
||||
config: c,
|
||||
diffing: true,
|
||||
schema: m,
|
||||
state: s,
|
||||
config: c,
|
||||
}
|
||||
|
||||
for k, schema := range m {
|
||||
|
Loading…
Reference in New Issue
Block a user