rabbah commented on issue #2720: cli is oblivous to protocol set for apihost
URL: 
https://github.com/apache/incubator-openwhisk/issues/2720#issuecomment-329360303
 
 
   Should probably go ahead and fix all instances that prefix `https://`:
   
   ```bash
   ./go-whisk/whisk/action.go:    webActionPath := 
"https://%s%s/%s/web/%s/%s/%s";
   ./go-whisk/whisk/action.go:    actionPath := 
"https://%s%s/%s/namespaces/%s/actions/%s";
   ./go-whisk/whisk/sdk.go:    urlStr := fmt.Sprintf("https://%s/%s";, 
s.client.Config.BaseURL.Host, relFileUrl)
   ./go-whisk-cli/commands/api.go:    api.Action.BackendUrl = "https://"; + 
client.Config.Host + "/api/v1/web/" + qName.GetNamespace() + "/" + 
urlActionPackage + "/" + qName.GetEntity() + ".http"
   ./go-whisk-cli/commands/util.go:        host = "https://"; + host
   ./go-whisk-cli/commands/util.go:        urlBase = 
fmt.Sprintf("https://%s%s";, host, path)
   ```
 
----------------------------------------------------------------
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