mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
command: remove log
This commit is contained in:
parent
866de2776e
commit
5086f9f568
@ -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]",
|
||||
|
Loading…
Reference in New Issue
Block a user