From 29b797d7970ae19a9c8e44806392df92212078f0 Mon Sep 17 00:00:00 2001 From: Aleksejs Sinicins Date: Tue, 19 Jul 2016 09:59:52 +0300 Subject: [PATCH] Remove etcd timeout --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index ddadc70..18acdb0 100644 --- a/main.go +++ b/main.go @@ -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 {