Avoid unnecesary encoding

This commit is contained in:
Diana Corbacho 2016-12-30 09:54:57 +01:00
parent 5e7b7b8b31
commit c8ff440af5
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ wait_until(Fun, N) ->
restart_uri(Link) ->
"/federation-links/vhost/%2f/" ++
http_uri:encode(binary_to_list(proplists:get_value(id, Link))) ++
"/restart".
binary_to_list(proplists:get_value(id, Link)) ++ "/restart".
%% -------------------------------------------------------------------
%% Helpers from rabbitmq_management tests
%% -------------------------------------------------------------------