Skip to content

Commit 936d1a1

Browse files
gomoripetimergify[bot]
authored andcommitted
Don't start invalid but enabled plugins at startup
For example during the startup after RabbitMQ was upgraded but an enabled community plugin wasn't, and the plugin's broker version requirement isn't met any more, RabbitMQ still started the plugin after logging an error. (cherry picked from commit 2194822)
1 parent 70e7386 commit 936d1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_plugins.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ prepare_plugins(Enabled) ->
265265
[ExpandDir, E2]}})
266266
end,
267267
[prepare_plugin(Plugin, ExpandDir) || Plugin <- ValidPlugins],
268-
Wanted.
268+
[P#plugin.name || P <- ValidPlugins].
269269

270270
maybe_warn_about_invalid_plugins([]) ->
271271
ok;

0 commit comments

Comments
 (0)