Commit 7313a45b authored by Marcin Rataj's avatar Marcin Rataj Committed by Adin Schmahmann

fix: url.RawFragment does not work in go1.14

I don't think we need to worry about #hash, so just removed it
parent 6851ede8
......@@ -752,7 +752,7 @@ func normalizeEndpoint(endpoint string) (string, error) {
uri.Path = strings.TrimSuffix(uri.Path, "/")
// remove any query params
if uri.RawQuery != "" || uri.RawFragment != "" {
if uri.RawQuery != "" {
return "", fmt.Errorf("service endpoint should be provided without any query parameters")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment