Do not print errors via UiHook
This commit is contained in:
parent
90c3e06628
commit
7a60174dd1
|
@ -140,7 +140,8 @@ func (h *UiHook) PostApply(
|
||||||
}
|
}
|
||||||
|
|
||||||
if applyerr != nil {
|
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(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
|
|
Loading…
Reference in New Issue