removed request logs

This commit is contained in:
Sebastian Frank 2021-08-16 20:13:41 +02:00
parent 90328d56b0
commit 5d52e3c35c
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

View File

@ -317,7 +317,7 @@ func actionHttp(action *ActionConfig, eventInfo notify.EventInfo, ctx actionCtx)
} }
} }
log.Printf("%s %s", method, url) // log.Printf("%s %s", method, url)
req, err := http.NewRequest(method, url, postData) req, err := http.NewRequest(method, url, postData)
if err != nil { if err != nil {
return err return err
@ -333,7 +333,7 @@ func actionHttp(action *ActionConfig, eventInfo notify.EventInfo, ctx actionCtx)
} }
body, _ := ioutil.ReadAll(resp.Body) body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body)) // fmt.Println(string(body))
defer resp.Body.Close() defer resp.Body.Close()
add2Ctx(action, ctx, "response", map[string]interface{}{ add2Ctx(action, ctx, "response", map[string]interface{}{