Skip to content

Commit

Permalink
fix the request setter, as it was not setting it to pass to cli.do(r)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonglocalsearchau committed Sep 2, 2019
1 parent a308943 commit e417633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soap/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func doRoundTrip(c *Client, setHeaders func(*http.Request), in, out Message) err
}

if c.Ctx != nil {
r.WithContext(c.Ctx)
r = r.WithContext(c.Ctx)
}

resp, err := cli.Do(r)
Expand Down

0 comments on commit e417633

Please sign in to comment.