Skip to content

Commit

Permalink
Remove etcd timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
monder committed Jul 19, 2016
1 parent 3e6c0a9 commit 29b797d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ func main() {

func getEtcd(endpoints []string) (client.KeysAPI, error) {
cfg := client.Config{
Endpoints: endpoints,
Transport: client.DefaultTransport,
HeaderTimeoutPerRequest: time.Second,
Endpoints: endpoints,
Transport: client.DefaultTransport,
}
c, err := client.New(cfg)
if err != nil {
Expand Down

0 comments on commit 29b797d

Please sign in to comment.