Format the code
Change-Id: Ia0000b3cfda0cb6146aaf22bccc189737a0a4c75 Signed-off-by: Li Yi <denverdino@gmail.com>
This commit is contained in:
parent
0e2ff9dd71
commit
fbb2269109
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue