dubeejw commented on a change in pull request #2463: Correct unable to set
apihost issue.
URL:
https://github.com/apache/incubator-openwhisk/pull/2463#discussion_r133525863
##########
File path: tools/cli/go-whisk-cli/commands/util.go
##########
@@ -841,6 +841,10 @@ func getURLBase(host string, path string) (*url.URL,
error) {
return nil, whiskErr
}
+ if !strings.HasPrefix(host, "http") {
+ host = "https://" + host
Review comment:
Need a test for this.
----------------------------------------------------------------
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