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() {
|
for _, v := range g.Vertices() {
|
||||||
if _, ok := v.(GraphNodeAddressable); ok {
|
if _, ok := v.(GraphNodeAddressable); ok {
|
||||||
if !targetedNodes.Include(v) {
|
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)
|
g.Remove(v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue