mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
core: improve debug logging when targeting
This commit is contained in:
parent
209b3db0e8
commit
2626c179a5
@ -34,7 +34,7 @@ func (t *TargetsTransformer) Transform(g *Graph) error {
|
||||
for _, v := range g.Vertices() {
|
||||
if _, ok := v.(GraphNodeAddressable); ok {
|
||||
if !targetedNodes.Include(v) {
|
||||
log.Printf("[DEBUG] Removing %s, filtered by targeting.", v)
|
||||
log.Printf("[DEBUG] Removing %q, filtered by targeting.", dag.VertexName(v))
|
||||
g.Remove(v)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user