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 2018/03/12 18:23:02 UTC

[GitHub] pritidesai commented on issue #791: Crash when running with __OW_API_KEY and __OW_API_HOST set

pritidesai commented on issue #791: Crash when running with __OW_API_KEY and __OW_API_HOST set
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/791#issuecomment-372413708
 
 
   [This](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/cmd/root.go#L103) particular check is causing this failure:
   
   ```
   func init() {
   	// TODO() move Env var. to some global const
   	utils.Flags.WithinOpenWhisk = len(os.Getenv("__OW_API_HOST")) > 0
   ```
   
   Assumption here is when this kind of env. variable is set, its considered as `wskdeploy` is running as OpenWhisk action. @lionelvillard @beemarie do you know if we have this kind of use case? This particular path seems broken.
   
   

----------------------------------------------------------------
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