diff options
| author | Jeff Carr <[email protected]> | 2025-03-06 07:50:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-06 07:54:56 -0600 |
| commit | b5878438368a18304de1ede88b516add2812e6a4 (patch) | |
| tree | 5d7f1ba52383518346a54a934e830e2705a0426b /http.go | |
| parent | b963653bb6ef25aaf19c5322b7b10c108ed8057a (diff) | |
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) } |
