diff options
| author | Michael Klishin <michael@novemberain.com> | 2017-05-08 18:03:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-08 18:03:23 +0300 |
| commit | d3542a400c7f50ad25179aee600b30a80ac2695d (patch) | |
| tree | c2f1eb1432f5592586fe9db491782f8f1a4a73a1 | |
| parent | 8cedd3f53a14e45ccc68868bbc6401bb321ee50f (diff) | |
| parent | aee6e38f5a45b3d6eff07254080729965f6c9ff2 (diff) | |
| download | rabbitmq-server-git-d3542a400c7f50ad25179aee600b30a80ac2695d.tar.gz | |
Merge pull request #1209 from binarin/more-defaulting-for-plugins-expand-dir-stablerabbitmq_v3_6_10_milestone3
Use plugins expand dir with default fallback value
| -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) -> |
