Merge pull request #10417 from hashicorp/b-color-reset
command: use reset instead of reset_bold
This commit is contained in:
commit
d99e68d27c
|
@ -129,7 +129,7 @@ func (h *UiHook) PreApply(
|
||||||
}
|
}
|
||||||
|
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][bold]%s: %s[reset_bold]%s",
|
"[reset][bold]%s: %s[reset]%s",
|
||||||
id,
|
id,
|
||||||
operation,
|
operation,
|
||||||
attrString)))
|
attrString)))
|
||||||
|
@ -165,7 +165,7 @@ func (h *UiHook) stillApplying(id string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][bold]%s: %s (%s elapsed)[reset_bold]",
|
"[reset][bold]%s: %s (%s elapsed)[reset]",
|
||||||
id,
|
id,
|
||||||
msg,
|
msg,
|
||||||
time.Now().Round(time.Second).Sub(state.Start),
|
time.Now().Round(time.Second).Sub(state.Start),
|
||||||
|
@ -204,7 +204,7 @@ func (h *UiHook) PostApply(
|
||||||
}
|
}
|
||||||
|
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][bold]%s: %s[reset_bold]",
|
"[reset][bold]%s: %s[reset]",
|
||||||
id, msg)))
|
id, msg)))
|
||||||
|
|
||||||
return terraform.HookActionContinue, nil
|
return terraform.HookActionContinue, nil
|
||||||
|
@ -221,7 +221,7 @@ func (h *UiHook) PreProvision(
|
||||||
provId string) (terraform.HookAction, error) {
|
provId string) (terraform.HookAction, error) {
|
||||||
id := n.HumanId()
|
id := n.HumanId()
|
||||||
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
h.ui.Output(h.Colorize.Color(fmt.Sprintf(
|
||||||
"[reset][bold]%s: Provisioning with '%s'...[reset_bold]",
|
"[reset][bold]%s: Provisioning with '%s'...[reset]",
|
||||||
id, provId)))
|
id, provId)))
|
||||||
return terraform.HookActionContinue, nil
|
return terraform.HookActionContinue, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue