mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
terraform: more dead code removal
This commit is contained in:
parent
522a28ab95
commit
efc79d431e
@ -46,20 +46,3 @@ func (t *ExpandTransform) Transform(v dag.Vertex) (dag.Vertex, error) {
|
|||||||
log.Printf("[DEBUG] vertex %q: static expanding", dag.VertexName(ev))
|
log.Printf("[DEBUG] vertex %q: static expanding", dag.VertexName(ev))
|
||||||
return ev.Expand(t.Builder)
|
return ev.Expand(t.Builder)
|
||||||
}
|
}
|
||||||
|
|
||||||
type GraphNodeBasicSubgraph struct {
|
|
||||||
NameValue string
|
|
||||||
Graph *Graph
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n *GraphNodeBasicSubgraph) Name() string {
|
|
||||||
return n.NameValue
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n *GraphNodeBasicSubgraph) Subgraph() dag.Grapher {
|
|
||||||
return n.Graph
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n *GraphNodeBasicSubgraph) FlattenGraph() *Graph {
|
|
||||||
return n.Graph
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user