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 should remove trailing slash on apihost #481

Open
twavv opened this issue Feb 6, 2020 · 1 comment
Open

wsk should remove trailing slash on apihost #481

twavv opened this issue Feb 6, 2020 · 1 comment

Comments

@twavv
Copy link

twavv commented Feb 6, 2020

Just spent an embarrassing amount of time trying to determine why the wsk CLI was working on one machine and not on another. The ultimate issue was that I ended up specifying the APIHOST variable as https://localhost:8443/ in the config file, with the trailing slash, which causes 404s since the CLI was sending requests to https://localhost:8443//api/v1/namespaces/_/triggers?limit=0&skip=0 (note the double-slash after the domain).

@rabbah
Copy link
Member

rabbah commented Feb 6, 2020

Sorry about that @travigd. Agree this should get fixed. (Contributions welcomed :)

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

2 participants