Skip to content

Commit

Permalink
Merge pull request #10452 from jpbetz/automated-cherry-pick-of-#10443…
Browse files Browse the repository at this point in the history
…-origin-release-3.2

Automated cherry pick of #10443 to release 3.2
  • Loading branch information
jpbetz authored Feb 6, 2019
2 parents 06cec40 + 1d80d5f commit e06761e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/command/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e06761e

Please sign in to comment.