Commit 5846bdb5 authored by justinw's avatar justinw

fix upstream url error when port is specified

parent 2963ca03
......@@ -134,7 +134,7 @@ class _Upstreams(object):
for url in self.urls:
parsed_url = urlparse(url)
host = urlparse(url).netloc
host = urlparse(url).hostname'attempting to add uptream url', url=parsed_url)
socket.gethostbyname(host)'added upstream url', url=parsed_url)
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