shithub: furgit

Download patch

ref: 4c2629a2601e432e4920034d5a9fd581d1e8014d
parent: aed6b338aedd155d84c3600f8490f77a28681234
author: Runxi Yu <runxiyu@umich.edu>
date: Mon Mar 30 11:33:32 EDT 2026

object/store: Quarantine should just embed Reader

--- a/object/store/quarantine.go
+++ b/object/store/quarantine.go
@@ -3,7 +3,7 @@
 // Quarantine is one quarantined write. It is intended to be embedded.
 type Quarantine interface {
 	// Reader returns the objects written into this quarantine.
-	Reader() Reader
+	Reader
 
 	// Promote publishes quarantined writes into their final destination.
 	Promote() error
--