Signed-off-by: Topi Kettunen <topi.kettunen@polarsquad.com>
pull/9205/head
Topi Kettunen 5 years ago committed by GitHub
parent 4d7d8a71a1
commit 795a89969b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -275,7 +275,7 @@ func ResolveReferenceURL(baseURL, refURL string) (string, error) {
return "", errors.Wrapf(err, "failed to parse %s as URL", baseURL)
}
// Reference URL needs to have parameters or other wise they will be erased on ResolveReference()
// Reference URL needs to have parameters or otherwise they will be erased on ResolveReference
if parsedBaseURL.RawQuery != "" {
refURL = fmt.Sprintf("%s?%s", refURL, parsedBaseURL.RawQuery)
}

Loading…
Cancel
Save