diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_plugin_activator.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl index 9f90e7d4c9..26274a365e 100644 --- a/src/rabbit_plugin_activator.erl +++ b/src/rabbit_plugin_activator.erl @@ -77,7 +77,7 @@ start() -> AppList end, AppVersions = [determine_version(App) || App <- AllApps], - {rabbit, RabbitVersion} = proplists:lookup(rabbit, AppVersions), + RabbitVersion = proplists:get_value(rabbit, AppVersions), %% Build the overall release descriptor RDesc = {release, @@ -131,9 +131,8 @@ start() -> error -> error("failed to compile boot script file ~s", [ScriptFile]) end, io:format("~n~w plugins activated:~n", [length(PluginApps)]), - [io:format("* ~s-~s~n", [App, Vsn]) || - App <- PluginApps, - {_, Vsn} <- [proplists:lookup(App, AppVersions)]], + [io:format("* ~s-~s~n", [App, proplists:get_value(App, AppVersions)]) + || App <- PluginApps], io:nl(), halt(), ok. |
