Fix OTP-27 Dialyzer errors in rabbitmq_trust_store
This commit is contained in:
parent
aa43139192
commit
c0c2c2fbd9
|
@ -10,7 +10,7 @@ define PROJECT_ENV
|
|||
endef
|
||||
|
||||
DEPS = rabbit_common rabbit
|
||||
LOCAL_DEPS += ssl crypto public_key inets
|
||||
LOCAL_DEPS = ssl crypto public_key inets
|
||||
## We need the Cowboy's test utilities
|
||||
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers amqp_client ct_helper trust_store_http
|
||||
dep_ct_helper = git https://github.com/extend/ct_helper.git master
|
||||
|
|
|
@ -65,8 +65,8 @@ join_url(BaseUrl, CertPath) ->
|
|||
string:strip(rabbit_data_coercion:to_list(CertPath), left, $/).
|
||||
|
||||
init(Config) ->
|
||||
inets:start(httpc, [{profile, ?PROFILE}]),
|
||||
_ = application:ensure_all_started(ssl),
|
||||
_ = inets:start(httpc, [{profile, ?PROFILE}]),
|
||||
{ok, _} = application:ensure_all_started(ssl),
|
||||
Options = proplists:get_value(proxy_options, Config, []),
|
||||
httpc:set_options(Options, ?PROFILE).
|
||||
|
||||
|
|
Loading…
Reference in New Issue