From 1b55f098919231bbaeaf71fdd9302bb34b6ab647 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 24 May 2018 17:18:34 -0700 Subject: [PATCH] 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)". --- terraform/graph_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/graph_builder.go b/terraform/graph_builder.go index ccdbd3419..76ae5be6e 100644 --- a/terraform/graph_builder.go +++ b/terraform/graph_builder.go @@ -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 {