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 20:02:50 UTC

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

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



##########
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:
       Yep. Just pushed it.




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