diff options
Diffstat (limited to 'post.go')
| -rw-r--r-- | post.go | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 } |
