backend/local: Don't count outputs for choosing diff action symbols

We're not yet showing outputs in the rendered diff, so it doesn't make
sense to count them for the purpose of deciding which change action
symbols to include in the legend.
This commit is contained in:
Martin Atkins 2018-09-11 10:18:45 -07:00
parent db9718faef
commit 5390fb1eed
1 changed files with 0 additions and 3 deletions

View File

@ -177,9 +177,6 @@ func (b *Local) renderPlan(plan *plans.Plan, schemas *terraform.Schemas) {
for _, change := range plan.Changes.Resources {
counts[change.Action]++
}
for _, change := range plan.Changes.RootOutputs {
counts[change.Action]++
}
headerBuf := &bytes.Buffer{}
fmt.Fprintf(headerBuf, "\n%s\n", strings.TrimSpace(planHeaderIntro))