Not necessary close body at this point

This commit is contained in:
claudemiro
2016-03-07 08:08:56 -03:00
parent 03483592fc
commit 8c54491e27
-2
View File
@@ -168,7 +168,5 @@ func triggerHook(name string, a *app, c *channel, event hookEvent) {
if err != nil {
log.Errorf("Error posting %s event: %+v", name, err)
}
defer resp.Body.Close()
}()
}