Merge pull request #10452 from jpbetz/automated-cherry-pick-of-#10443-origin-release-3.2

Automated cherry pick of #10443 to release 3.2
This commit is contained in:
Joe Betz
2019-02-06 09:59:10 -08:00
committed by GitHub

View File

@@ -103,7 +103,7 @@ func getDomainDiscoveryFlagValue(c *cli.Context) ([]string, error) {
// strip insecure connections
ret := []string{}
for _, ep := range eps {
if strings.HasPrefix("http://", ep) {
if strings.HasPrefix(ep, "http://") {
fmt.Fprintf(os.Stderr, "ignoring discovered insecure endpoint %q\n", ep)
continue
}