This is an automated email from the ASF dual-hosted git repository.
mhamann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git
The following commit(s) were added to refs/heads/master by this push:
new 6ed81c5 Disable ipv6 during DNS resolution (#366)
6ed81c5 is described below
commit 6ed81c5211c8abd9bcf28089ef9771c62489e47f
Author: Matt Hamann <[email protected]>
AuthorDate: Wed Dec 4 15:50:23 2019 -0500
Disable ipv6 during DNS resolution (#366)
---
init.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.sh b/init.sh
index 6fcc7a4..2579e62 100755
--- a/init.sh
+++ b/init.sh
@@ -55,7 +55,7 @@ api-gateway-config-supervisor \
--sync-cmd="${sync_cmd}" \
--http-addr=127.0.0.1:8888 &
-echo resolver $(awk 'BEGIN{ORS=" "} /^nameserver/{print $2}' /etc/resolv.conf
| sed "s/ $/;/g") > /etc/api-gateway/conf.d/includes/resolvers.conf
+echo resolver $(awk 'BEGIN{ORS=" "} /^nameserver/{print $2}' /etc/resolv.conf
| sed "s/ $/ ipv6=off;/g") > /etc/api-gateway/conf.d/includes/resolvers.conf
echo " ... with dns $(cat /etc/api-gateway/conf.d/includes/resolvers.conf)"
echo " ... testing configuration "