Skip to content

Commit

Permalink
OK?
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoguin committed Oct 25, 2024
1 parent 9043cf8 commit c9aec0f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions deps/rabbitmq_ct_helpers/src/rabbit_ct_broker_helpers.erl
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,15 @@ do_start_rabbitmq_node(Config, NodeConfig, I) ->
case UseSecondaryDist of
true ->
SecondaryDist = ?config(secondary_dist, Config),
SecondaryEnabledPlugins = case {?config(secondary_enabled_plugins, Config), filename:basename(SrcDir)} of
{undefined, "rabbit"} -> "";
{undefined, SrcPlugin} -> SrcPlugin;
{SecondaryEnabledPlugins0, _} -> SecondaryEnabledPlugins0
SecondaryEnabledPlugins = case {
StartWithPluginsDisabled,
?config(secondary_enabled_plugins, Config),
filename:basename(SrcDir)
} of
{true, _, _} -> "";
{_, undefined, "rabbit"} -> "";
{_, undefined, SrcPlugin} -> SrcPlugin;
{_, SecondaryEnabledPlugins0, _} -> SecondaryEnabledPlugins0
end,
[{"DIST_DIR=~ts/plugins", [SecondaryDist]},
{"CLI_SCRIPTS_DIR=~ts/sbin", [SecondaryDist]},
Expand Down

0 comments on commit c9aec0f

Please sign in to comment.