Skip to content

Commit

Permalink
Merge pull request #220 from steemit/feature-use-ports
Browse files Browse the repository at this point in the history
Fixes bug in which you cannot specify a port in the upstream config file
  • Loading branch information
jredbeard committed Mar 5, 2019
2 parents ef65da7 + 67e347b commit 1154db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jussi/upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def validate_urls(self):
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)
Expand Down

0 comments on commit 1154db1

Please sign in to comment.