diff options
| author | Alexey Lebedeff <alebedev@mirantis.com> | 2017-05-05 16:57:18 +0300 |
|---|---|---|
| committer | Alexey Lebedeff <alebedev@mirantis.com> | 2017-05-05 16:57:18 +0300 |
| commit | aee6e38f5a45b3d6eff07254080729965f6c9ff2 (patch) | |
| tree | c2f1eb1432f5592586fe9db491782f8f1a4a73a1 | |
| parent | 8cedd3f53a14e45ccc68868bbc6401bb321ee50f (diff) | |
| download | rabbitmq-server-git-aee6e38f5a45b3d6eff07254080729965f6c9ff2.tar.gz | |
Use plugins expand dir with default fallback value
In addition to #1134
| -rw-r--r-- | src/rabbit_plugins.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl index ae146f3d92..a5d7de56bb 100644 --- a/src/rabbit_plugins.erl +++ b/src/rabbit_plugins.erl @@ -206,7 +206,7 @@ prepare_plugins(Enabled) -> Wanted. clean_plugins(Plugins) -> - {ok, ExpandDir} = application:get_env(rabbit, plugins_expand_dir), + ExpandDir = plugins_expand_dir(), [clean_plugin(Plugin, ExpandDir) || Plugin <- Plugins]. clean_plugin(Plugin, ExpandDir) -> |
