mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 09:11:45 +00:00
cache: Clean up temporary mount pool on restart
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
@@ -373,6 +373,7 @@ func newHTTPSource(tmpdir string) (source.Source, error) {
|
||||
Applier: applier,
|
||||
Differ: differ,
|
||||
GarbageCollect: mdb.GarbageCollect,
|
||||
MountPoolRoot: filepath.Join(tmpdir, "cachemounts"),
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user