removed request logs
This commit is contained in:
parent
90328d56b0
commit
5d52e3c35c
4
main.go
4
main.go
@ -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{}{
|
||||||
|
Loading…
Reference in New Issue
Block a user