Skip to content

Commit fb43927

Browse files
authored
Merge pull request #253 from deploymenttheory/dev-dw-general
chore: Update timeout context logging in multipartrequest.go
2 parents 0217252 + ef35c22 commit fb43927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpclient/multipartrequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (c *Client) DoMultiPartRequest(method, endpoint string, files map[string][]
8181

8282
if c.config.CustomTimeout > 0 {
8383
ctx, cancel = context.WithTimeout(context.Background(), c.config.CustomTimeout)
84-
log.Info("Using timeout context for multipart request", zap.Duration("timeout", c.config.CustomTimeout))
84+
log.Info("Using timeout context for multipart request", zap.Duration("custom_timeout_seconds", c.config.CustomTimeout))
8585
} else {
8686
ctx = context.Background()
8787
cancel = func() {}

0 commit comments

Comments
 (0)