Change-Id: Ia0000b3cfda0cb6146aaf22bccc189737a0a4c75 Signed-off-by: Li Yi <denverdino@gmail.com>
@@ -225,6 +225,7 @@ func newClient(scope string, kv string, addr string, config *store.Config, cache
if err != nil {
return nil, err
}
+
ds := &datastore{scope: scope, store: store, active: true, watchCh: make(chan struct{})}
if cached {
ds.cache = newCache(ds)