fix(bpapi): Add exceptions for experimental features
This commit is contained in:
parent
8c6d8bdd12
commit
b1855f95c1
|
@ -139,12 +139,12 @@ check_api_immutability(#{release := Rel1, api := APIs1}, #{release := Rel2, api
|
|||
%% TODO: Handle API deprecation
|
||||
_ = maps:map(
|
||||
fun(Key, Val) ->
|
||||
case lists:member(Key, ?EXPERIMENTAL_APIS) of
|
||||
true ->
|
||||
ok;
|
||||
false ->
|
||||
do_check_api_immutability(Rel1, Rel2, APIs2, Key, Val)
|
||||
end
|
||||
case lists:member(Key, ?EXPERIMENTAL_APIS) of
|
||||
true ->
|
||||
ok;
|
||||
false ->
|
||||
do_check_api_immutability(Rel1, Rel2, APIs2, Key, Val)
|
||||
end
|
||||
end,
|
||||
APIs1
|
||||
),
|
||||
|
@ -178,7 +178,6 @@ do_check_api_immutability(Rel1, Rel2, APIs2, Key = {API, Version}, Val) ->
|
|||
logger:error("Removed calls:~n ~p", [D12])
|
||||
end.
|
||||
|
||||
|
||||
filter_calls(Calls) ->
|
||||
F = fun({{Mf, _, _}, {Mt, _, _}}) ->
|
||||
(not lists:member(Mf, ?FORCE_DELETED_MODULES)) andalso
|
||||
|
|
Loading…
Reference in New Issue