core: remove redundant rule lines in BasicGraphBuilder logs

The "------" is useful when we produce the multi-line graph description,
but just adds noise when we're showing "(no changes)".
This commit is contained in:
Martin Atkins 2018-05-24 17:18:34 -07:00
parent 7673a0d850
commit 1b55f09891

View File

@ -67,7 +67,7 @@ func (b *BasicGraphBuilder) Build(path addrs.ModuleInstance) (*Graph, tfdiags.Di
log.Printf("[TRACE] Completed graph transform %T with new graph:\n%s------", step, thisStepStr)
lastStepStr = thisStepStr
} else {
log.Printf("[TRACE] Completed graph transform %T (no changes)\n------", step)
log.Printf("[TRACE] Completed graph transform %T (no changes)", step)
}
if err != nil {