Do not print errors via UiHook

This commit is contained in:
Radek Simko 2015-07-22 12:49:05 +02:00 committed by Radek Simko
parent 90c3e06628
commit 7a60174dd1
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ func (h *UiHook) PostApply(
}
if applyerr != nil {
msg = fmt.Sprintf("Error: %s", applyerr)
// Errors are collected and printed in ApplyCommand, no need to duplicate
return terraform.HookActionContinue, nil
}
h.ui.Output(h.Colorize.Color(fmt.Sprintf(