Skip to content

Commit aee6e38

Browse files
author
Alexey Lebedeff
committed
Use plugins expand dir with default fallback value
In addition to #1134
1 parent 8cedd3f commit aee6e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_plugins.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ prepare_plugins(Enabled) ->
206206
Wanted.
207207

208208
clean_plugins(Plugins) ->
209-
{ok, ExpandDir} = application:get_env(rabbit, plugins_expand_dir),
209+
ExpandDir = plugins_expand_dir(),
210210
[clean_plugin(Plugin, ExpandDir) || Plugin <- Plugins].
211211

212212
clean_plugin(Plugin, ExpandDir) ->

0 commit comments

Comments
 (0)