Merge pull request #3173 from apparentlymart/plan-summary-counts

In plan summary, be more honest about force-new changes.
This commit is contained in:
Paul Hinze 2015-09-04 11:58:29 -05:00
commit fe3e9e861c
1 changed files with 3 additions and 3 deletions

View File

@ -136,9 +136,9 @@ func (c *PlanCommand) Run(args []string) int {
c.Ui.Output(c.Colorize().Color(fmt.Sprintf(
"[reset][bold]Plan:[reset] "+
"%d to add, %d to change, %d to destroy.",
countHook.ToAdd,
(countHook.ToChange + countHook.ToRemoveAndAdd),
countHook.ToRemove)))
countHook.ToAdd+countHook.ToRemoveAndAdd,
countHook.ToChange,
countHook.ToRemove+countHook.ToRemoveAndAdd)))
if detailed {
return 2