mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
chore: fix some function names (#2108)
Signed-off-by: jinjiadu <jinjiadu@aliyun.com>
This commit is contained in:
parent
de9fb7ccca
commit
384dc4cb93
@ -1004,7 +1004,7 @@ func (c *Context) referenceAnalyzer(config *configs.Config, state *states.State)
|
||||
return globalref.NewAnalyzer(config, schemas.Providers), diags
|
||||
}
|
||||
|
||||
// relevantResourcesForPlan implements the heuristic we use to populate the
|
||||
// relevantResourceAttrsForPlan implements the heuristic we use to populate the
|
||||
// RelevantResources field of returned plans.
|
||||
func (c *Context) relevantResourceAttrsForPlan(config *configs.Config, plan *plans.Plan) ([]globalref.ResourceAttr, tfdiags.Diagnostics) {
|
||||
azr, diags := c.referenceAnalyzer(config, plan.PriorState)
|
||||
|
@ -318,7 +318,7 @@ func (m ReferenceMap) References(v dag.Vertex) []dag.Vertex {
|
||||
return matches
|
||||
}
|
||||
|
||||
// addReferences returns the set of vertices that the given reference requires
|
||||
// addReference returns the set of vertices that the given reference requires
|
||||
// within a given module. It additionally excludes the current vertex.
|
||||
func (m ReferenceMap) addReference(path addrs.Module, current dag.Vertex, ref *addrs.Reference) []dag.Vertex {
|
||||
var matches []dag.Vertex
|
||||
|
Loading…
Reference in New Issue
Block a user