From b5878438368a18304de1ede88b516add2812e6a4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Mar 2025 07:50:21 -0600 Subject: quiet some output --- http.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/http.go b/http.go index 6e194b2..fae1ff7 100644 --- a/http.go +++ b/http.go @@ -21,22 +21,22 @@ func (m *Machine) HttpPostMachine(url string) ([]byte, error) { if m.Hostname == "" { log.Info("WTF. hostname is blank") } else { - log.Info("GOOD. hostname is set to", m.Hostname) + // log.Info("GOOD. hostname is set to", m.Hostname) } - log.Info("GOOD2. hostname is set to", m.Hostname) + // log.Info("GOOD2. hostname is set to", m.Hostname) msg, err := m.Marshal() if err != nil { log.Info("proto.Marshal() failed:", err) return nil, err } - log.Info("GOOD3. hostname is set to", m.Hostname) + // log.Info("GOOD3. hostname is set to", m.Hostname) check := new(Machine) check.Unmarshal(msg) if check == nil { log.Info("WTF. check == nil") } - log.Info("good? check.hostname =", m.Hostname) + // log.Info("good? check.hostname =", m.Hostname) return m.HttpPost(url, msg) } -- cgit v1.2.3