Unverified Commit 1154db16 authored by Justin Welch's avatar Justin Welch Committed by GitHub

Merge pull request #220 from steemit/feature-use-ports

Fixes bug in which you cannot specify a port in the upstream config file
parents ef65da73 67e347b9
......@@ -134,7 +134,7 @@ class _Upstreams(object):
for url in self.urls:
try:
parsed_url = urlparse(url)
host = urlparse(url).netloc
host = urlparse(url).hostname
logger.info('attempting to add uptream url', url=parsed_url)
socket.gethostbyname(host)
logger.info('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