Skip to content

Commit

Permalink
Merge pull request #253 from deploymenttheory/dev-dw-general
Browse files Browse the repository at this point in the history
chore: Update timeout context logging in multipartrequest.go
  • Loading branch information
ShocOne authored Jun 25, 2024
2 parents 0217252 + ef35c22 commit fb43927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpclient/multipartrequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (c *Client) DoMultiPartRequest(method, endpoint string, files map[string][]

if c.config.CustomTimeout > 0 {
ctx, cancel = context.WithTimeout(context.Background(), c.config.CustomTimeout)
log.Info("Using timeout context for multipart request", zap.Duration("timeout", c.config.CustomTimeout))
log.Info("Using timeout context for multipart request", zap.Duration("custom_timeout_seconds", c.config.CustomTimeout))
} else {
ctx = context.Background()
cancel = func() {}
Expand Down

0 comments on commit fb43927

Please sign in to comment.