|
|
@@ -104,7 +104,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
|
|
|
}
|