summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2022-02-28 08:22:22 -0500
committerAdam Kocoloski <kocolosk@apache.org>2022-02-28 08:22:22 -0500
commit2099c70f178657a8bf0bfe29a829e9f5547bb78f (patch)
tree522bee36d32a191e55640984b8955e92274c161c
parent20a3c2b11401fcbc536ab2a6aca322529964e3e2 (diff)
downloadcouchdb-merge-devcontainer-jenkins.tar.gz
Very puzzling, thismerge-devcontainer-jenkins
-rw-r--r--.devcontainer/create_cluster_file.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/.devcontainer/create_cluster_file.bash b/.devcontainer/create_cluster_file.bash
index 47b2d20ac..a611f631b 100644
--- a/.devcontainer/create_cluster_file.bash
+++ b/.devcontainer/create_cluster_file.bash
@@ -35,6 +35,11 @@ function create_cluster_file() {
echo "$FDB_CLUSTER_FILE_CONTENTS" > $FDB_CLUSTER_FILE
elif [[ -n $FDB_COORDINATOR ]]; then
coordinator_ip=$(getent hosts $FDB_COORDINATOR | awk {'print $1'})
+ x=$(getent hosts $FDB_COORDINATOR)
+ y=$(getent hosts fdb)
+ echo "Output of getent: ${x}"
+ echo "Output of getent raw: ${y}"
+ echo "coordinator_ip: ${coordinator_ip}"
if [[ -z "$coordinator_ip" ]]; then
echo "Failed to look up coordinator address for $FDB_COORDINATOR" 1>&2
exit 1