You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/10/28 03:34:52 UTC

[GitHub] jsanda commented on issue #2909: [2862] Get protocol from client config base url

jsanda commented on issue #2909: [2862] Get protocol from client config base url
URL: https://github.com/apache/incubator-openwhisk/pull/2909#issuecomment-340136296
 
 
   I have not done much programming with Go. I primarily use IntelliJ but decided to use emacs for Go. I have it set up to run ```gofmt``` on file save. I learned that gofmt uses hard tabs instead of spaces. I posted a question on the mailing list about style guidelines. I can push another commit that reverts the formatting. My only change is on line 821 from:
   
   ```api.Action.BackendUrl = "https://" + Client.Config.Host + "/api/v1/web/" + qName.GetNamespace() + "/" + urlActionPackage + "/" + qName.GetEntity() + ".http"```
   
   to:
   ```api.Action.BackendUrl = Client.Config.BaseUrl.Scheme + "://" + Client.Config.Host + "/api/v1/web/" + qName.GetNamespace() + "/" + urlActionPackage + "/" + qName.GetEntity() + ".http"```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services