Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property getter with --apihost argument modifies configuration #95

Closed
joe4dev opened this issue Jul 12, 2019 · 7 comments
Closed

Property getter with --apihost argument modifies configuration #95

joe4dev opened this issue Jul 12, 2019 · 7 comments

Comments

@joe4dev
Copy link

joe4dev commented Jul 12, 2019

whisk CLI version 2019-05-30T22:04:28+00:00

The property getter ibmcloud fn property get --apihost actually changes the whisk API host property.
Example changing to an empty string (because I intend to query apihost and the space between the raw output flag is interpreted as empty string):
Screenshot 2019-07-12 at 12 17 00
Example changing to arbitrary values:
Screenshot 2019-07-12 at 12 24 10

This behavior is extremely confusing and unexpected.
Probably related to apache/openwhisk-cli#435
and also to apache/openwhisk-cli@23de5a3

Notice that the same buggy behavior does not happen in the latest 76203e8 open source version of wsk:
Screenshot 2019-07-12 at 12 42 26

@mdeuser
Copy link

mdeuser commented Jul 14, 2019

i opened an issue against the functions plugin for this issue
https://github.ibm.com/BlueMix-Fabric/bluemix-openwhisk-cli/issues/360

@steven0711dong
Copy link

@steven0711dong
Copy link

steven0711dong commented Oct 2, 2019

@joe4dev This issue should be fixed now but I cannot close this issue :)
It should be available in the next release 1.0.35.

@joe4dev
Copy link
Author

joe4dev commented Oct 8, 2019

I can test it when 1.0.35 is released.
Currently, 0.19.0 is the latest version: https://github.com/IBM-Cloud/ibm-cloud-cli-release/releases

@steven0711dong
Copy link

steven0711dong commented Oct 8, 2019 via email

@joe4dev
Copy link
Author

joe4dev commented Oct 13, 2019

I can confirm that this issue is fixed now in cloud-functions/wsk/functions/fn 1.0.35 (via bx plugin list). Thanks. Closing this issue.

PS: The docs are not yet updated for 1.0.35.

@joe4dev joe4dev closed this as completed Oct 13, 2019
@steven0711dong
Copy link

@joe4dev https://cloud.ibm.com/docs/openwhisk?topic=cloud-functions-cli_versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants