mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
fs/cache: fix cache unpin
This commit is contained in:
parent
ac0dc9922e
commit
7a909ebfb0
2
fs/cache/cache.go
vendored
2
fs/cache/cache.go
vendored
@ -112,7 +112,7 @@ func PinUntilFinalized(f fs.Fs, x interface{}) {
|
||||
// Unpin f from the cache
|
||||
func Unpin(f fs.Fs) {
|
||||
createOnFirstUse()
|
||||
c.Pin(fs.ConfigString(f))
|
||||
c.Unpin(fs.ConfigString(f))
|
||||
}
|
||||
|
||||
// Get gets an fs.Fs named fsString either from the cache or creates it afresh
|
||||
|
Loading…
Reference in New Issue
Block a user