Blob Blame Raw
From 50baba0ae59e29c9b8ae45b5bb86fa34aa7353eb Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
Date: Fri, 3 Jun 2016 10:55:23 +0200
Subject: [PATCH] etcd2 changing to etcd3

---
 subnet/registry.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subnet/registry.go b/subnet/registry.go
index a2615de..46e216a 100644
--- a/subnet/registry.go
+++ b/subnet/registry.go
@@ -56,7 +56,7 @@ func newEtcdClient(c *EtcdConfig) (etcd.KeysAPI, error) {
 		CAFile:   c.CAFile,
 	}
 
-	t, err := transport.NewTransport(tlsInfo)
+	t, err := transport.NewTransport(tlsInfo, 30*time.Second)
 	if err != nil {
 		return nil, err
 	}
-- 
1.9.3