Build issues resolved

This commit is contained in:
SUMUKHA-PK 2019-03-26 21:24:26 +05:30
parent f96350d0a8
commit 8d38784ec2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (cli *Client) BuildBaseURL(urlPath ...string) string {
parts := []string{hsURL.Path}
parts = append(parts, urlPath...)
hsURL.Path = path.Join(parts...)
// Manually add the trailing slash back to the end of the path if it's explicitely needed
// Manually add the trailing slash back to the end of the path if it's explicitly needed
if strings.HasSuffix(urlPath[len(urlPath)-1], "/") {
hsURL.Path = hsURL.Path + "/"
}