From b2d628bd7f87d088d728cbea3b131ca7f365ad5b Mon Sep 17 00:00:00 2001 From: Emile Joubert Date: Mon, 15 Oct 2012 17:00:36 +0100 Subject: Updates for renamed policy API --- deps/rabbitmq_federation/src/rabbit_federation_upstream.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps/rabbitmq_federation/src/rabbit_federation_upstream.erl') diff --git a/deps/rabbitmq_federation/src/rabbit_federation_upstream.erl b/deps/rabbitmq_federation/src/rabbit_federation_upstream.erl index 7a06cb9e99..d4d8c32d37 100644 --- a/deps/rabbitmq_federation/src/rabbit_federation_upstream.erl +++ b/deps/rabbitmq_federation/src/rabbit_federation_upstream.erl @@ -59,7 +59,7 @@ from_set(SetName, X, UpstName) -> rabbit_federation_util:find_upstreams(UpstName, from_set(SetName, X)). from_set(<<"all">>, X) -> - Connections = rabbit_runtime_parameters:list_param( + Connections = rabbit_runtime_parameters:list( vhost(X), <<"federation-upstream">>), Set = [[{<<"upstream">>, pget(key, C)}] || C <- Connections], from_set_contents(Set, X); -- cgit v1.2.1