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 2021/01/01 19:55:01 UTC

[GitHub] [airflow] ashb commented on a change in pull request #13424: Disables reverse IP lookup for environment check

ashb commented on a change in pull request #13424:
URL: https://github.com/apache/airflow/pull/13424#discussion_r550800822



##########
File path: scripts/in_container/check_environment.sh
##########
@@ -21,6 +21,15 @@ EXIT_CODE=0
 
 DISABLED_INTEGRATIONS=""
 
+function run_nc() {
+    local host=${1}
+    local port=${2}
+    local ip
+    ip=$(python -c "import socket; print(socket.gethostbyname('${host}'))")

Review comment:
       Could you add a comment here (shorter version of the pr desc) saying why we need this.




----------------------------------------------------------------
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