mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 09:11:45 +00:00
cache: add migration flow to new lease based format
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -337,7 +337,7 @@ func newHTTPSource(tmpdir string) (source.Source, error) {
|
||||
cm, err := cache.NewManager(cache.ManagerOpt{
|
||||
Snapshotter: snapshot.FromContainerdSnapshotter("native", containerdsnapshot.NSSnapshotter("buildkit", mdb.Snapshotter("native")), nil),
|
||||
MetadataStore: md,
|
||||
LeaseManager: leaseutil.WithNamespace(leaseutil.NewManager(mdb), "buildkit"),
|
||||
LeaseManager: leaseutil.WithNamespace(ctdmetadata.NewLeaseManager(mdb), "buildkit"),
|
||||
ContentStore: mdb.ContentStore(),
|
||||
GarbageCollect: mdb.GarbageCollect,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user