command/destroy: don't show outputs

This commit is contained in:
Mitchell Hashimoto 2014-10-11 17:37:28 -07:00
parent bb698217f8
commit 8fc134caa1
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ func (c *ApplyCommand) Run(args []string) int {
// If we have outputs, then output those at the end.
var outputs map[string]string
if state != nil {
if !c.Destroy && state != nil {
outputs = state.RootModule().Outputs
}
if len(outputs) > 0 {