diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-09-17 15:51:34 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-09-17 15:51:34 +0100 |
commit | 594b856c0b63462a009044a9d01a8c009b553fef (patch) | |
tree | eef87d46daa02f7447918951a40ae113bf69f0a5 | |
parent | 28ad9120266a2c9b3e3ce179a356ae75942dbe0d (diff) | |
download | rabbitmq-server-594b856c0b63462a009044a9d01a8c009b553fef.tar.gz |
If there are enabled-but-missing plugins, don't fail activation; we don't fail to boot here so live activation should be OK too. The command line tool will have warned the user.
-rw-r--r-- | src/rabbit_plugins.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl index 04db5d5d..84a0d022 100644 --- a/src/rabbit_plugins.erl +++ b/src/rabbit_plugins.erl @@ -41,10 +41,8 @@ ensure(FileJustChanged) -> {ok, OurFile} = application:get_env(rabbit, enabled_plugins_file), case OurFile of FileJustChanged -> - {ok, Dir} = application:get_env(rabbit, plugins_dir), Enabled = read_enabled(OurFile), - Wanted = dependencies(false, Enabled, list(Dir)), - prepare_plugins(Enabled), + Wanted = prepare_plugins(Enabled), Current = active(), Start = Wanted -- Current, Stop = Current -- Wanted, |