Skip to content

Commit

Permalink
Use host_type instead of host
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Sep 20, 2021
1 parent 3dfeb61 commit f6a5dce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions big_tests/tests/service_mongoose_system_metrics_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
spec/2,
common/1]).

-import(domain_helper, [host_type/0]).

suite() ->
require_rpc_nodes([mim]).

Expand Down Expand Up @@ -458,9 +460,8 @@ events_are_reported_to_configurable_tracking_id() ->
end, Tab).

maybe_start_module(Module) ->
Host = <<"localhost">>,
Options = [],
distributed_helper:rpc(mim(), gen_mod, start_module, [Host, Module, Options]).
distributed_helper:rpc(mim(), gen_mod, start_module, [host_type(), Module, Options]).

feature_is_reported(EventCategory, EventAction) ->
Tab = ets:tab2list(?ETS_TABLE),
Expand Down

0 comments on commit f6a5dce

Please sign in to comment.