summaryrefslogtreecommitdiff
path: root/src/rabbit_fhc_helpers.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_fhc_helpers.erl')
-rw-r--r--src/rabbit_fhc_helpers.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_fhc_helpers.erl b/src/rabbit_fhc_helpers.erl
index adf81f463a..9c66bfe956 100644
--- a/src/rabbit_fhc_helpers.erl
+++ b/src/rabbit_fhc_helpers.erl
@@ -24,7 +24,7 @@ clear_read_cache() ->
case application:get_env(rabbit, fhc_read_buffering) of
{ok, true} ->
file_handle_cache:clear_read_cache(),
- clear_vhost_read_cache(rabbit_vhost:list());
+ clear_vhost_read_cache(rabbit_vhost:list_names());
_ -> %% undefined or {ok, false}
ok
end.