Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Jun 22, 2018
2 parents 917c31c + 8d34384 commit 80140db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/adp_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ func (c *Http) renderAndSend(message string, params map[string]interface{}) {
return
}

for k, v := range c.Headers {
req.Header.Set(k,v)
}

ctx, closer := context.WithTimeout(context.Background(), c.Timeout)
defer closer()

Expand Down

0 comments on commit 80140db

Please sign in to comment.