mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-08 16:35:25 -04:00
Do not print errors via UiHook
This commit is contained in:
parent
90c3e06628
commit
7a60174dd1
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue