Skip to content

Commit

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

Automated cherry pick of #10443 to release 3.1
  • Loading branch information
jpbetz authored Feb 6, 2019
2 parents 45adad4 + 19e9417 commit 45d616a
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 45d616a

Please sign in to comment.