rabbah commented on issue #43:
URL:
https://github.com/apache/openwhisk-runtime-dotnet/issues/43#issuecomment-745524261
Chatting with @shawnallen85 he suggested a patch in
`proxy/Apache.OpenWhisk.Runtime.Common/Init.cs` around line 73.
```
if (message["env"] != null)
{
Dictionary<string, string> dictEnv =
message["env"].ToObject<Dictionary<string, string>>();
foreach(var key in dictEnv) {
System.Envrionment.SetEnvironmentVariable(key,
dictEnv[key]);
}
}
```
The current `__OW_` context variables are set at runtime, see
https://github.com/apache/openwhisk-runtime-dotnet/blob/66449cb972a547825b8ca40c4159bf933097edd6/core/dotnet3.1/proxy/Apache.OpenWhisk.Runtime.Common/Run.cs#L67
which may require some adaptation as well.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]