summaryrefslogtreecommitdiff
path: root/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'post.go')
-rw-r--r--post.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/post.go b/post.go
index 9537bc8..ccdfb11 100644
--- a/post.go
+++ b/post.go
@@ -6,7 +6,6 @@ import (
"net/http"
"os"
"os/user"
- "strings"
"go.wit.com/log"
)
@@ -39,11 +38,11 @@ func httpPost(url string, data []byte) ([]byte, error) {
return body, err
}
- test := strings.TrimSpace(string(body))
- log.Info("go.wit.com returned body:", test)
- if test == "OK" {
- return body, nil
- }
+ // test := strings.TrimSpace(string(body))
+ // log.Info("go.wit.com returned body:", test)
+ // if test == "OK" {
+ // return body, nil
+ // }
return body, nil
}