mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
remove dead code
This commit is contained in:
parent
7fde7d9f20
commit
3414e1b996
@ -1,29 +0,0 @@
|
|||||||
package terraform
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
)
|
|
||||||
|
|
||||||
// NodeDestroyableModule represents a module destruction.
|
|
||||||
type NodeDestroyableModuleVariable struct {
|
|
||||||
PathValue []string
|
|
||||||
}
|
|
||||||
|
|
||||||
func (n *NodeDestroyableModuleVariable) Name() string {
|
|
||||||
result := "plan-destroy"
|
|
||||||
if len(n.PathValue) > 1 {
|
|
||||||
result = fmt.Sprintf("%s.%s", modulePrefixStr(n.PathValue), result)
|
|
||||||
}
|
|
||||||
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
// GraphNodeSubPath
|
|
||||||
func (n *NodeDestroyableModuleVariable) Path() []string {
|
|
||||||
return n.PathValue
|
|
||||||
}
|
|
||||||
|
|
||||||
// GraphNodeEvalable
|
|
||||||
func (n *NodeDestroyableModuleVariable) EvalTree() EvalNode {
|
|
||||||
return &EvalDiffDestroyModule{Path: n.PathValue}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user