From f50ac551c56569e109a8350f27dab53bb2378d4d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 15:43:50 +0000 Subject: *: Remove Close from object/ref store interfaces At places where you own the object, you should have the literal implementation with Close. If you're using it via the interface, then you probably don't own that store, and you shouldn't be closing it. Thanks to Michael Muré from git-bug for this point. --- object/store/reading.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'object') diff --git a/object/store/reading.go b/object/store/reading.go index d27001bf..0e233462 100644 --- a/object/store/reading.go +++ b/object/store/reading.go @@ -52,9 +52,4 @@ type ReadingStore interface { // // Backends without dynamic discovery should do nothing and return nil. Refresh() error - - // Close releases resources associated with the backend. - // - // Labels: MT-Unsafe. - Close() error } -- cgit v1.3.1-10-gc9f91