diff options
| author | Jeff Carr <[email protected]> | 2024-11-01 08:30:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-01 08:30:55 -0500 |
| commit | 0a28c45a6cb885feeb14a49cba2c9b956bda665a (patch) | |
| tree | 9aff3b4cedec311389d99224a133c92ac6df6bed /post.go | |
| parent | a10dab96ff14f800a0f731eef86b1ab55152ede7 (diff) | |
import worked
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'post.go')
| -rw-r--r-- | post.go | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -6,7 +6,6 @@ import ( "net/http" "os" "os/user" - "strings" "go.wit.com/log" ) @@ -35,12 +34,5 @@ func httpPost(url string, data []byte) ([]byte, error) { log.Error(err) return body, err } - - test := strings.TrimSpace(string(body)) - log.Info("go.wit.com returned body:", test) - if test == "OK" { - return body, nil - } - return body, nil } |
