apache / apache/openwhisk-cli

wsk should remove trailing slash on apihost

Aperta
#481 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
good first issue help wanted
Lingua principale
Go
Stelle
109
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.