Skip to content

Commit

Permalink
Fix OTP-27 Dialyzer errors in rabbitmq_trust_store
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoguin committed Sep 16, 2024
1 parent 6ac5c54 commit e6534ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/rabbitmq_trust_store/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
{ok, _} = inets:start(httpc, [{profile, ?PROFILE}]),
{ok, _} = application:ensure_all_started(ssl),
Options = proplists:get_value(proxy_options, Config, []),
httpc:set_options(Options, ?PROFILE).

Expand Down

0 comments on commit e6534ec

Please sign in to comment.