diff options
Diffstat (limited to 'internal/object/store.go')
| -rw-r--r-- | internal/object/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/object/store.go b/internal/object/store.go index ee154cf..e974186 100644 --- a/internal/object/store.go +++ b/internal/object/store.go @@ -77,6 +77,7 @@ func (s *ObjectStore) IDSet() map[string]bool { func (s *ObjectStore) Reload(dataDir string) { s.mu.Lock() defer s.mu.Unlock() + s.dataDir = dataDir s.cache = make(map[string]*ObjectDef) s.pathIndex = behavior.BuildPathIndex(filepath.Join(dataDir, "objects")) } |
