You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/10/03 23:59:43 UTC

[GitHub] alexkli commented on a change in pull request #59: calling openwhisk from action fails because api host is set to "localhost" #58

alexkli commented on a change in pull request #59: calling openwhisk from action fails because api host is set to "localhost" #58
URL: https://github.com/apache/incubator-openwhisk-devtools/pull/59#discussion_r142554497
 
 

 ##########
 File path: docker-compose/Makefile
 ##########
 @@ -1,4 +1,4 @@
-DOCKER_HOST_IP ?= $(shell echo ${DOCKER_HOST} | grep -o "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" || echo localhost)
+DOCKER_HOST_IP ?= $(shell echo ${DOCKER_HOST} | grep -o "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" || hostname)
 
 Review comment:
   Yes.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services