Skip to content

Commit 532404d

Browse files
committed
Fix OTP-27 Dialyzer errors in rabbitmq_trust_store
1 parent 6ac5c54 commit 532404d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/rabbitmq_trust_store/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ define PROJECT_ENV
1010
endef
1111

1212
DEPS = rabbit_common rabbit
13-
LOCAL_DEPS += ssl crypto public_key inets
13+
LOCAL_DEPS = ssl crypto public_key inets
1414
## We need the Cowboy's test utilities
1515
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers amqp_client ct_helper trust_store_http
1616
dep_ct_helper = git https://github.com/extend/ct_helper.git master

deps/rabbitmq_trust_store/src/rabbit_trust_store_http_provider.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ join_url(BaseUrl, CertPath) ->
6565
string:strip(rabbit_data_coercion:to_list(CertPath), left, $/).
6666

6767
init(Config) ->
68-
inets:start(httpc, [{profile, ?PROFILE}]),
69-
_ = application:ensure_all_started(ssl),
68+
_ = inets:start(httpc, [{profile, ?PROFILE}]),
69+
{ok, _} = application:ensure_all_started(ssl),
7070
Options = proplists:get_value(proxy_options, Config, []),
7171
httpc:set_options(Options, ?PROFILE).
7272

0 commit comments

Comments
 (0)