csantanapr opened a new issue #131: wsk property get does not work if api host 
is not set
URL: https://github.com/apache/incubator-openwhisk-cli/issues/131
 
 
   @rabbah commented on [Sun Jun 11 
2017](https://github.com/apache/incubator-openwhisk/issues/2358)
   
   ```
   > WSK_CONFIG_FILE= wsk property get --all
   error: The API host is not valid: An API host must be provided.
   Run 'wsk --help' for usage.
   ```
   
   If I'm trying to get all the properties, I think the CLI should just show 
what is set and what isn't.
   
   Trying to override this:
   
   ```
   > 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
   error: Unable to obtain API build information: Get 
openwhisk.ng.bluemix.net/v1: unsupported protocol scheme ""
   ```
   
   Seems to show there's a baked in reference to bluemix somewhere: 
https://github.com/apache/incubator-openwhisk/blob/master/tools/cli/go-whisk/whisk/client.go#L36
 which should not be present, and looks like a bug since the default does not 
seem to hold if that was intended.
   
   
   
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to