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

wsk cli is not retaining .wskprops file formatting after setting properties #2806

Closed
GabrielNicolasAvellaneda opened this issue Sep 26, 2017 · 3 comments
Assignees

Comments

@GabrielNicolasAvellaneda
Copy link
Contributor

GabrielNicolasAvellaneda commented Sep 26, 2017

developer@ubuntu:~/openwhisk$ cat ~/.wskprops 
# Bellow is an empty line and then we set the namespace

NAMESPACE=my-namespace # This is an inline comment

# This API host is for the dev environment
APIHOST=http://dev.openwhisk.local:10001

developer@ubuntu:~/openwhisk$ bin/wsk property set --apihost http://test.openwhisk.local:10001
ok: whisk API host set to http://test.openwhisk.local:10001

developer@ubuntu:~/openwhisk$ cat ~/.wskprops 
APIHOST=http://test.openwhisk.local:10001
NAMESPACE=my-namespace # This is an inline comment

@rabbah If this makes sense please assign this to me. Thanks!

@GabrielNicolasAvellaneda GabrielNicolasAvellaneda changed the title wsk cli is not retaining .wskprop file formatting after setting properties wsk cli is not retaining .wskprops file formatting after setting properties Sep 26, 2017
@GabrielNicolasAvellaneda
Copy link
Contributor Author

@rabbah Is it safe to do changes in this project instead of the incubator-openwhisk-cli repository? Are you syncing repos?

@rabbah
Copy link
Member

rabbah commented Sep 26, 2017

go for it - indeed they're kept in sync until the cord is cut.

@csantanapr
Copy link
Member

Issue moved to apache/incubator-openwhisk-cli #127 via ZenHub

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

No branches or pull requests

3 participants