summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-07-18 18:18:42 -0500
committerTristan Sloughter <t@crashfast.com>2015-07-19 12:17:01 -0500
commit93c000d02a4b79a2f17202016b119800d061ee57 (patch)
tree9a7a3460e4ac49ad65343a0d36569e42c83e9d0f
parent65878f6bdd0b1547a1d0287f9b765b2b77fc77eb (diff)
fix ssl_opts list in httpc request to not be doubel list
-rw-r--r--src/rebar_pkg_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_pkg_resource.erl b/src/rebar_pkg_resource.erl
index 50533a5..fdc69e2 100644
--- a/src/rebar_pkg_resource.erl
+++ b/src/rebar_pkg_resource.erl
@@ -97,7 +97,7 @@ make_vsn(_) ->
request(Url, ETag) ->
case httpc:request(get, {Url, [{"if-none-match", ETag} || ETag =/= false]},
- [{ssl, [ssl_opts(Url)]}, {relaxed, true}],
+ [{ssl, ssl_opts(Url)}, {relaxed, true}],
[{body_format, binary}],
rebar) of
{ok, {{_Version, 200, _Reason}, Headers, Body}} ->