diff options
| author | 2026-02-21 02:30:23 +0800 | |
|---|---|---|
| committer | 2026-02-21 02:30:23 +0800 | |
| commit | 677887b7aa3d673bd92a7876f3987cd2f86cb43d (patch) | |
| tree | 062ce585ba2452642ca17c406710d612bbcfa10b /objectstore/chain/chain.go | |
| parent | refstore/chain: Add chained refstore implementation (diff) | |
| signature | No signature | |
objectstore: Rename ObjectStore to Store
Diffstat (limited to 'objectstore/chain/chain.go')
| -rw-r--r-- | objectstore/chain/chain.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/objectstore/chain/chain.go b/objectstore/chain/chain.go index f11e3f67..337e2a2e 100644 --- a/objectstore/chain/chain.go +++ b/objectstore/chain/chain.go @@ -13,13 +13,13 @@ import ( // Chain queries multiple object databases in order. type Chain struct { - backends []objectstore.ObjectStore + backends []objectstore.Store } // New creates an ordered object database chain. -func New(backends ...objectstore.ObjectStore) *Chain { +func New(backends ...objectstore.Store) *Chain { return &Chain{ - backends: append([]objectstore.ObjectStore(nil), backends...), + backends: append([]objectstore.Store(nil), backends...), } } |
