Fix OTP-27 Dialyzer errors in rabbitmq_trust_store

This commit is contained in:
Loïc Hoguin 2024-09-16 13:14:25 +02:00
parent aa43139192
commit c0c2c2fbd9
No known key found for this signature in database
GPG Key ID: C69E26E3A9DF618F
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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).