Skip to content

Commit d8ae8af

Browse files
committed
rabbit_feature_flags: Fix style
1 parent 1601808 commit d8ae8af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

deps/rabbit/src/rabbit_feature_flags.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ get_stability(FeatureName) when is_atom(FeatureName) ->
744744
undefined -> undefined;
745745
FeatureProps -> get_stability(FeatureProps)
746746
end;
747-
get_stability(FeatureProps) when ?IS_FEATURE_FLAG(FeatureProps) ->
747+
get_stability(FeatureProps) when ?IS_FEATURE_FLAG(FeatureProps) ->
748748
maps:get(stability, FeatureProps, stable);
749749
get_stability(FeatureProps) when ?IS_DEPRECATION(FeatureProps) ->
750750
Phase = rabbit_deprecated_features:get_phase(FeatureProps),

deps/rabbit/src/rabbit_ff_controller.erl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,12 +888,14 @@ enable_many(#{states_per_node := _} = Inventory, FeatureNames) ->
888888
Ret :: ok | {error, Reason},
889889
Reason :: term().
890890

891-
enable_many_locked(#{states_per_node := _} = Inventory, [FeatureName | Rest]) ->
891+
enable_many_locked(
892+
#{states_per_node := _} = Inventory, [FeatureName | Rest]) ->
892893
case enable_if_supported(Inventory, FeatureName) of
893894
{ok, Inventory1} -> enable_many_locked(Inventory1, Rest);
894895
Error -> Error
895896
end;
896-
enable_many_locked(_Inventory, []) ->
897+
enable_many_locked(
898+
_Inventory, []) ->
897899
ok.
898900

899901
-spec enable_if_supported(Inventory, FeatureName) -> Ret when

0 commit comments

Comments
 (0)