Skip to content

Commit

Permalink
Pass httpClient in WithFieldsMap (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored Feb 9, 2022
1 parent 1e25ca7 commit 7040a8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,10 @@ func (c *Action) WithFieldsSlice(f []string) *Action {
// are automatically converted to k=v pairs and sorted.
func (c *Action) WithFieldsMap(m map[string]string) *Action {
return &Action{
w: c.w,
fields: m,
getenv: c.getenv,
w: c.w,
fields: m,
getenv: c.getenv,
httpClient: c.httpClient,
}
}

Expand Down

0 comments on commit 7040a8f

Please sign in to comment.