You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/01/11 19:46:38 UTC
[GitHub] [openwhisk] rabbah edited a comment on issue #5044: Native / Docker runtime does not reuse variables outside of main function in Golang
rabbah edited a comment on issue #5044:
URL: https://github.com/apache/openwhisk/issues/5044#issuecomment-758180683
The golang OpenWhisk runtime does reuse variables. You can try a properly working version here:
https://apigcp.nimbella.io/api/v1/web/playground/user463062/y
and see the code here:
https://apigcp.nimbella.io/api/v1/web/playground/default/showCode/user463062/y
We cannot speak for what IBM cloud functions is doing. You'd have to follow up with IBM.
cc @dgrove-oss perhaps can help?
----------------------------------------------------------------
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:
users@infra.apache.org