Fix most tests.

This commit is contained in:
Simon MacMullen 2012-03-23 13:05:06 +00:00
parent 2a972d9861
commit 2d1573d652
1 changed files with 2 additions and 1 deletions

View File

@ -447,7 +447,8 @@ links(#'exchange.declare'{exchange = Name,
{longstr, Set} = rabbit_misc:table_lookup(Args, <<"upstream-set">>),
{ok, Upstreams} = rabbit_federation_upstream:from_set(
Set, rabbit_misc:r(<<"/">>, exchange, Name)),
[{Name, U#upstream.connection_name, U#upstream.exchange} || U <- Upstreams];
[{Name, list_to_binary(U#upstream.connection_name), U#upstream.exchange} ||
U <- Upstreams];
links(#'exchange.declare'{}) ->
[].