Skip to content

Commit 356da26

Browse files
committed
rabbit_feature_flags: Remove v1 code
`feature_flags_v2` is required now, so we can drop the old code path.
1 parent 940870a commit 356da26

File tree

3 files changed

+28
-918
lines changed

3 files changed

+28
-918
lines changed

deps/rabbit/src/rabbit.erl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ start_apps(Apps, RestartTypes) ->
521521
%% We need to load all applications involved in order to be able to
522522
%% find new feature flags.
523523
app_utils:load_applications(Apps),
524-
ok = rabbit_feature_flags:refresh_feature_flags_after_app_load(Apps),
524+
ok = rabbit_feature_flags:refresh_feature_flags_after_app_load(),
525525
rabbit_prelaunch_conf:decrypt_config(Apps),
526526
lists:foreach(
527527
fun(App) ->
@@ -908,8 +908,7 @@ start(normal, []) ->
908908
%% once, because it does not involve running code from the
909909
%% plugins.
910910
ok = app_utils:load_applications(Plugins),
911-
ok = rabbit_feature_flags:refresh_feature_flags_after_app_load(
912-
Plugins),
911+
ok = rabbit_feature_flags:refresh_feature_flags_after_app_load(),
913912

914913
persist_static_configuration(),
915914

0 commit comments

Comments
 (0)