Github user dwray commented on the pull request:

    
https://github.com/apache/qpid-proton/commit/a61f50e94ceb74ed81665192e1d3051ec8be0208#commitcomment-22033928
  
    Your update didn't work for me.  It looks like the TrimPrefix expression is 
back to front, swapping it round to: addr := strings.TrimPrefix(url.Path, "/") 
fixed it.
    
    See: https://golang.org/pkg/strings/#TrimPrefix 
    func TrimPrefix
    
    func TrimPrefix(s, prefix string) string
    TrimPrefix returns s without the provided leading prefix string. If s 
doesn't start with prefix, s is returned unchanged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to