Format the code

Change-Id: Ia0000b3cfda0cb6146aaf22bccc189737a0a4c75
Signed-off-by: Li Yi <denverdino@gmail.com>
This commit is contained in:
Li Yi 2015-10-27 00:44:51 +08:00
parent 0e2ff9dd71
commit fbb2269109

View file

@ -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)