You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/11 12:38:30 UTC

[GitHub] rabbah commented on issue #2357: Cli should ignore a config file env variable value of empty string

rabbah commented on issue #2357: Cli should ignore a config file env variable value of empty string
URL: https://github.com/apache/incubator-openwhisk/pull/2357#issuecomment-307626616
 
 
   I think I did not communicate my concern clearly - let me try again. In the presence of a `~/.wsprops` file, setting `WSK_CONFIG_FILE=` forces (today) the CLI to ignore the property file and hence start with no properties.
   
   For example:
   ```
   > ls ~/.wskprops
   /my/home/.wskprops
   
   > WSK_CONFIG_FILE= wsk property get --all --apihost xxx
   whisk auth		
   whisk API host		
   whisk API version	v1
   whisk namespace		_
   whisk CLI version	2017-06-09T21:18:47+00:00
   whisk API build		Unknown
   whisk API build number	Unknown
   ```
   
   This feature is used by the catalogs to override the presence of a local file when installing catalogs. 
   
 
----------------------------------------------------------------
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