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 2022/06/06 19:12:39 UTC
[GitHub] [airflow] mik-laj commented on a diff in pull request #24260: Use `get_hostname` instead of `socket.getfqdn`
mik-laj commented on code in PR #24260:
URL: https://github.com/apache/airflow/pull/24260#discussion_r890464005
##########
airflow/www/auth.py:
##########
@@ -45,7 +45,7 @@ def decorated(*args, **kwargs):
return (
render_template(
'airflow/no_roles_permissions.html',
- hostname=socket.getfqdn()
+ hostname=get_hostname
Review Comment:
```suggestion
hostname=get_hostname()
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org