Skip to content

Commit

Permalink
Merge pull request #10417 from hashicorp/b-color-reset
Browse files Browse the repository at this point in the history
command: use reset instead of reset_bold
  • Loading branch information
mitchellh authored Nov 29, 2016
2 parents f25592a + ab1e512 commit d99e68d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions command/hook_ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (h *UiHook) PreApply(
}

h.ui.Output(h.Colorize.Color(fmt.Sprintf(
"[reset][bold]%s: %s[reset_bold]%s",
"[reset][bold]%s: %s[reset]%s",
id,
operation,
attrString)))
Expand Down Expand Up @@ -165,7 +165,7 @@ func (h *UiHook) stillApplying(id string) {
}

h.ui.Output(h.Colorize.Color(fmt.Sprintf(
"[reset][bold]%s: %s (%s elapsed)[reset_bold]",
"[reset][bold]%s: %s (%s elapsed)[reset]",
id,
msg,
time.Now().Round(time.Second).Sub(state.Start),
Expand Down Expand Up @@ -204,7 +204,7 @@ func (h *UiHook) PostApply(
}

h.ui.Output(h.Colorize.Color(fmt.Sprintf(
"[reset][bold]%s: %s[reset_bold]",
"[reset][bold]%s: %s[reset]",
id, msg)))

return terraform.HookActionContinue, nil
Expand All @@ -221,7 +221,7 @@ func (h *UiHook) PreProvision(
provId string) (terraform.HookAction, error) {
id := n.HumanId()
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)))
return terraform.HookActionContinue, nil
}
Expand Down

0 comments on commit d99e68d

Please sign in to comment.