command: remove log

This commit is contained in:
Mitchell Hashimoto 2017-03-02 11:15:38 -08:00
parent 866de2776e
commit 5086f9f568
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import (
"bufio"
"bytes"
"fmt"
"log"
"sort"
"strings"
"sync"
@ -55,7 +54,6 @@ func (h *UiHook) PreApply(
n *terraform.InstanceInfo,
s *terraform.InstanceState,
d *terraform.InstanceDiff) (terraform.HookAction, error) {
log.Printf("[DEBUG] PreApply arguments:\n%#v\n%#v\n%#v", n, s, d)
h.once.Do(h.init)
id := n.HumanId()
@ -201,7 +199,6 @@ func (h *UiHook) PostApply(
s *terraform.InstanceState,
applyerr error) (terraform.HookAction, error) {
log.Printf("[DEBUG] PostApply arguments:\n%#v\n%#v\n%#v", n, s, applyerr)
id := n.HumanId()
h.l.Lock()
@ -234,7 +231,6 @@ func (h *UiHook) PostApply(
// Errors are collected and printed in ApplyCommand, no need to duplicate
return terraform.HookActionContinue, nil
}
log.Printf("[DEBUG] Printing out output: %#v", msg)
colorized := h.Colorize.Color(fmt.Sprintf(
"[reset][bold]%s: %s%s[reset]",