Commit 12b7df5b authored by Terence Lee's avatar Terence Lee

don't need to interpolate here

parent 1fb17e6a
......@@ -86,7 +86,7 @@ class AppRunner
private
def get_retry(path, max_retries)
network_retry(max_retries) do
uri = URI("#{path}")
uri = URI(path)
uri.host = HOST_IP if uri.host.nil?
uri.port = HOST_PORT if (uri.host == HOST_IP && uri.port != HOST_PORT) || uri.port.nil?
uri.scheme = "http" if uri.scheme.nil?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment