Description: Do not mandate no path
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2020-06-16

--- golang-github-coreos-discovery-etcd-io-2.0.0+git2019.04.19.git.78fb45d3c9.orig/discovery.go
+++ golang-github-coreos-discovery-etcd-io-2.0.0+git2019.04.19.git.78fb45d3c9/discovery.go
@@ -29,10 +29,6 @@ func mustHostOnlyURL(givenUrl string) st
 		fail(fmt.Sprintf("Invalid url given: %v", err))
 	}
 
-	if len(u.Path) != 0 && u.Path != "/" {
-		fail(fmt.Sprintf("Expected url without path (%v)", u.Path))
-	}
-
 	if u.RawQuery != "" {
 		fail(fmt.Sprintf("Expected url without query (?%v)", u.RawQuery))
 	}
