Skip to content

Commit

Permalink
Latest Docker for mac uses localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossg committed May 2, 2016
1 parent e77dae5 commit 758cd60
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ function retry {

function get_jenkins_url {
if [ -z "${DOCKER_HOST}" ]; then
if [ "$(uname)" == "Darwin" ]; then
DOCKER_IP=docker.local
else
DOCKER_IP=localhost
fi
DOCKER_IP=localhost
else
DOCKER_IP=$(echo "$DOCKER_HOST" | sed -e 's|tcp://\(.*\):[0-9]*|\1|')
fi
Expand Down

0 comments on commit 758cd60

Please sign in to comment.