commit | 2dd688a98c50550be19dbc9ca82ae489b81298ee | [log] [tgz] |
---|---|---|
author | rodric rabbah <rodric@gmail.com> | Sat Dec 14 12:38:33 2019 -0500 |
committer | Michele Sciabarra <30654959+sciabarracom@users.noreply.github.com> | Sat Dec 14 18:38:33 2019 +0100 |
tree | 3a97b8beab02390d60afc668f5ea21e3136608eb | |
parent | 3b629d8f20934643c627c077ffe81c247d608576 [diff] |
Export API host from parent process to child process. (#115)
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 @@ //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 {