Skip to content

Commit bedc5ed

Browse files
Make sure rabbit_prelaunch_conf:decrypt_config/2 is available to tests
This fixes an `undef` failure in unit_config_value_encryption_SUITE. On more recent branches starting with `v4.0.x` this change was applied as part of a larger commit, e.g. cfa3de4.
1 parent 7cf820f commit bedc5ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/rabbitmq_prelaunch/src/rabbit_prelaunch_conf.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
generate_config_from_cuttlefish_files/3,
1313
decrypt_config/1]).
1414

15-
-ifdef(TEST).
15+
%% Only used in tests.
1616
-export([decrypt_config/2]).
17-
-endif.
1817

1918
%% These can be removed when we only support OTP-26+.
2019
-ignore_xref([{user_drv, whereis_group, 0},

0 commit comments

Comments
 (0)