This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 2dd688a  Export API host from parent process to child process. (#115)
2dd688a is described below

commit 2dd688a98c50550be19dbc9ca82ae489b81298ee
Author: rodric rabbah <[email protected]>
AuthorDate: Sat Dec 14 12:38:33 2019 -0500

    Export API host from parent process to child process. (#115)
---
 openwhisk/actionProxy.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openwhisk/actionProxy.go b/openwhisk/actionProxy.go
index e922e66..d9e7068 100644
--- a/openwhisk/actionProxy.go
+++ b/openwhisk/actionProxy.go
@@ -71,6 +71,7 @@ func NewActionProxy(baseDir string, compiler string, outFile 
*os.File, errFile *
 
 //SetEnv sets the environment
 func (ap *ActionProxy) SetEnv(env map[string]interface{}) {
+       ap.env["__OW_API_HOST"] = os.Getenv("__OW_API_HOST")
        for k, v := range env {
                s, ok := v.(string)
                if ok {

Reply via email to