fix tests, remove debug prints

This commit is contained in:
JP
2015-08-13 20:42:57 -05:00
parent 3145a732f2
commit 0ae5075cc9
2 changed files with 12 additions and 6 deletions

View File

@@ -78,9 +78,7 @@ func (d *Datadog) Write(bp client.BatchPoints) error {
}
req.Header.Add("Content-Type", "application/json")
fmt.Printf("making POST call\n")
resp, err := d.client.Do(req)
fmt.Printf("POST call made, err is: %+v\n", err)
defer resp.Body.Close()
if err != nil {
return fmt.Errorf("error POSTing metrics, %s\n", err.Error())