fix: Use correct path to on-disk write cache cleanup function
This commit is contained in:
2
internal/cache/write.go
vendored
2
internal/cache/write.go
vendored
@@ -68,7 +68,7 @@ func NewCacheWrite(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return fileWithSize{f}, func() error {
|
return fileWithSize{f}, func() error {
|
||||||
return os.Remove(filepath.Join(tmpdir, f.Name()))
|
return os.Remove(f.Name())
|
||||||
}, nil
|
}, nil
|
||||||
default:
|
default:
|
||||||
return nil, nil, ErrWriteCacheTypeUnsupported
|
return nil, nil, ErrWriteCacheTypeUnsupported
|
||||||
|
|||||||
Reference in New Issue
Block a user