Skip to content

Commit 8b045d8

Browse files
authored
Merge pull request #207 from jessestimpson/dialyzer-fixes-1
Fixes dialyzer error due to proplist and Keyword incompatibility
2 parents 25ef007 + 79a88ab commit 8b045d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/aws/http_client/hackney.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ defmodule AWS.HTTPClient.Hackney do
1212
def request(method, url, body, headers, options) do
1313
ensure_hackney_running!()
1414

15-
options = [:with_body | options] |> Keyword.put_new(:pool, @hackney_pool_name)
15+
options = Keyword.put_new(options, :pool, @hackney_pool_name)
16+
options = [:with_body | options]
1617

1718
case :hackney.request(method, url, headers, body, options) do
1819
{:ok, status_code, response_headers, body} ->

0 commit comments

Comments
 (0)