From 93c000d02a4b79a2f17202016b119800d061ee57 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 18 Jul 2015 18:18:42 -0500 Subject: fix ssl_opts list in httpc request to not be doubel list --- src/rebar_pkg_resource.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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}} -> -- cgit v1.1