Skip to content

Commit

Permalink
lint errs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Aug 29, 2023
1 parent 988bafb commit dcc0bb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v2/pkg/protocols/http/httpclientpool/clientpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,9 @@ func wrappedGet(options *types.Options, configuration *Configuration) (*retryabl

// Only add to client pool if we don't have a cookie jar in place.
if jar == nil {
clientPool.Set(hash, client)
if err := clientPool.Set(hash, client); err != nil {
return nil, err
}
}
return client, nil
}
Expand Down

0 comments on commit dcc0bb7

Please sign in to comment.