mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 00:41:27 -06:00
terraform: put quotes before vertex name to avoid false panicwrap
Fixes #9395
This commit is contained in:
parent
7cb2e69457
commit
83b1c82e93
@ -206,11 +206,11 @@ func (g *AcyclicGraph) Walk(cb WalkFunc) error {
|
||||
case <-ch:
|
||||
break DepSatisfied
|
||||
case <-time.After(time.Second * 5):
|
||||
log.Printf("[DEBUG] vertex %s, waiting for: %s",
|
||||
log.Printf("[DEBUG] vertex %q, waiting for: %q",
|
||||
VertexName(v), VertexName(deps[i]))
|
||||
}
|
||||
}
|
||||
log.Printf("[DEBUG] vertex %s, got dep: %s",
|
||||
log.Printf("[DEBUG] vertex %q, got dep: %q",
|
||||
VertexName(v), VertexName(deps[i]))
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ func (g *Graph) walk(walker GraphWalker) error {
|
||||
// If the node is dynamically expanded, then expand it
|
||||
if ev, ok := v.(GraphNodeDynamicExpandable); ok {
|
||||
log.Printf(
|
||||
"[DEBUG] vertex %s.%s: expanding/walking dynamic subgraph",
|
||||
"[DEBUG] vertex '%s.%s': expanding/walking dynamic subgraph",
|
||||
path,
|
||||
dag.VertexName(v))
|
||||
g, err := ev.DynamicExpand(vertexCtx)
|
||||
@ -274,7 +274,7 @@ func (g *Graph) walk(walker GraphWalker) error {
|
||||
// If the node has a subgraph, then walk the subgraph
|
||||
if sn, ok := v.(GraphNodeSubgraph); ok {
|
||||
log.Printf(
|
||||
"[DEBUG] vertex %s.%s: walking subgraph",
|
||||
"[DEBUG] vertex '%s.%s': walking subgraph",
|
||||
path,
|
||||
dag.VertexName(v))
|
||||
|
||||
|
@ -43,7 +43,7 @@ func (t *ExpandTransform) Transform(v dag.Vertex) (dag.Vertex, error) {
|
||||
}
|
||||
|
||||
// Expand the subgraph!
|
||||
log.Printf("[DEBUG] vertex %s: static expanding", dag.VertexName(ev))
|
||||
log.Printf("[DEBUG] vertex %q: static expanding", dag.VertexName(ev))
|
||||
return ev.Expand(t.Builder)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user