aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/print-cache/print-cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/print-cache/print-cache.go b/tools/print-cache/print-cache.go
index b21643e..cdecac4 100644
--- a/tools/print-cache/print-cache.go
+++ b/tools/print-cache/print-cache.go
@@ -27,7 +27,7 @@ func main() {
log.Fatal(err)
}
- defer func() {_ = feed.UnlockCache(cache)}()
+ defer cache.Unlock()
fmt.Printf("Cache version %d\n", cache.Version())
if feedId != "" {