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_r133525332
 
 

 ##########
 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") {
 
 Review comment:
   Hmm, what if the string begins with `https://`, won't `https://` be 
prepended again?
 
----------------------------------------------------------------
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