From ffb98db8fbcdae9332392aabb2bdd217795c0432 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 7 Jun 2026 06:14:54 +0000 Subject: More cleanups --- object/store/reader.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'object/store/reader.go') diff --git a/object/store/reader.go b/object/store/reader.go index 5fc76979..e8829b87 100644 --- a/object/store/reader.go +++ b/object/store/reader.go @@ -59,11 +59,10 @@ type ObjectReader interface { Refresh() error } -// ErrObjectNotFound indicates that -// an object does not exist in a backend. -// This error must only be produced by object stores, -// when it has no specified object ID, -// but no other unexpected conditions were encountered. +// ErrObjectNotFound indicates that an object does not exist in a backend. +// It must only be produced by an object store +// when the store does not contain the requested object ID +// and no other unexpected conditions were encountered. var ErrObjectNotFound = errors.New("object/store: object not found") // This is a sentinel with no details, -- cgit v1.3.1-10-gc9f91