You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/07/02 10:31:16 UTC

[GitHub] [airflow] XD-DENG commented on issue #5501: [AIRFLOW-4862] Allow directly using IP address as hostname

XD-DENG commented on issue #5501: [AIRFLOW-4862] Allow directly using IP address as hostname
URL: https://github.com/apache/airflow/pull/5501#issuecomment-507618423
 
 
   Hi @ashb , I'm sorry but I think there is an issue introduced here. 
   
   ```python
   def get_host_ip_address():
       socket.gethostbyname(socket.getfqdn())
   ```
   
   I didn't explicitly return the value so this function will always return `None`. A `return` is missed here.
   I will raise another PR (with the same JIRA number maybe), and will tag you there.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services