mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Refactor of differ to make code reuse easier (#33054)
* refactor of differ to make code reuse easier * fix imports
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/differ/attribute_path"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
)
|
||||
|
||||
@@ -150,7 +150,6 @@ func (opts JsonOpts) processObject(before, after map[string]interface{}, relevan
|
||||
// Mark non-relevant attributes as unchanged.
|
||||
afterChild = beforeChild
|
||||
afterExplicit = beforeExplicit
|
||||
|
||||
}
|
||||
|
||||
return opts.Transform(beforeChild, afterChild, beforeExplicit, afterExplicit, childRelevantAttributes)
|
||||
|
||||
Reference in New Issue
Block a user