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_r126868954
 
 

 ##########
 File path: tools/cli/go-whisk-cli/commands/util.go
 ##########
 @@ -856,6 +856,10 @@ func getURLBase(host string, path string) (*url.URL, 
error)  {
         return nil, whiskErr
     }
 
+    if !strings.HasPrefix(host, "http") {
+        host = "http://"; + host
 
 Review comment:
   What if the OpenWhisk deployment only supports https?
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to