Skip to content

Commit

Permalink
Tweak ETCD connection string
Browse files Browse the repository at this point in the history
Without scheme, ETCD client was unable to parse the host:port format.
  • Loading branch information
Oli Hall committed Mar 28, 2017
1 parent 63b9b8a commit bc91e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var (
client = etcd.NewClient([]string{"127.0.0.1:4001"})
client = etcd.NewClient([]string{"http://127.0.0.1:2379"})
resolver = &Resolver{etcd: client}
)

Expand Down

0 comments on commit bc91e7f

Please sign in to comment.