summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-08-25 15:36:27 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-08-25 15:36:27 +0100
commit88c8e005b8e363ec41a0e423b550b0233ee45f9b (patch)
tree089f3a3be8c80a30d2229b2941277370353779ca
parent9398957b19e81628d057fd7ea2d7a0eb4630ab1f (diff)
parent839cee567ad9f983d8e1473f2ebc77d2173c4255 (diff)
downloadrabbitmq-server-88c8e005b8e363ec41a0e423b550b0233ee45f9b.tar.gz
Merge bug 23131 into default (display plugin version during activation)
-rw-r--r--src/rabbit_plugin_activator.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl
index c9f75be0..0f5ed286 100644
--- a/src/rabbit_plugin_activator.erl
+++ b/src/rabbit_plugin_activator.erl
@@ -131,7 +131,9 @@ start() ->
error -> error("failed to compile boot script file ~s", [ScriptFile])
end,
io:format("~n~w plugins activated:~n", [length(PluginApps)]),
- [io:format("* ~w~n", [App]) || App <- PluginApps],
+ [io:format("* ~s-~s~n", [App, Vsn]) ||
+ App <- PluginApps,
+ {App, Vsn} <- [proplists:lookup(App, AppVersions)]],
io:nl(),
halt(),
ok.