From 959bd0adbb1798d08f6f36da8a389a8cc590f82c Mon Sep 17 00:00:00 2001 From: Alexandre Beslic Date: Wed, 13 May 2015 16:43:06 -0700 Subject: [PATCH] Add call to SyncCluster at etcd client initialization Signed-off-by: Alexandre Beslic --- pkg/store/etcd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/store/etcd.go b/pkg/store/etcd.go index 33689445bb..4bc401c47c 100644 --- a/pkg/store/etcd.go +++ b/pkg/store/etcd.go @@ -34,6 +34,8 @@ func InitializeEtcd(addrs []string, options Config) (Store, error) { s.setTimeout(options.Timeout) } + // FIXME sync on each operation? + s.client.SyncCluster() return s, nil }