summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}