summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-06 07:50:21 -0600
committerJeff Carr <[email protected]>2025-03-06 07:54:56 -0600
commitb5878438368a18304de1ede88b516add2812e6a4 (patch)
tree5d7f1ba52383518346a54a934e830e2705a0426b /http.go
parentb963653bb6ef25aaf19c5322b7b10c108ed8057a (diff)
Diffstat (limited to 'http.go')
-rw-r--r--http.go8
1 files 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)
}