summaryrefslogtreecommitdiff
path: root/workhorse/internal/upload/destination/filestore/filestore.go
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/upload/destination/filestore/filestore.go')
-rw-r--r--workhorse/internal/upload/destination/filestore/filestore.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/workhorse/internal/upload/destination/filestore/filestore.go b/workhorse/internal/upload/destination/filestore/filestore.go
index 2d88874bf25..6b2d8270b51 100644
--- a/workhorse/internal/upload/destination/filestore/filestore.go
+++ b/workhorse/internal/upload/destination/filestore/filestore.go
@@ -19,3 +19,7 @@ func (lf *LocalFile) Consume(_ context.Context, r io.Reader, _ time.Time) (int64
}
return n, err
}
+
+func (lf *LocalFile) ConsumeWithoutDelete(outerCtx context.Context, reader io.Reader, deadLine time.Time) (_ int64, err error) {
+ return lf.Consume(outerCtx, reader, deadLine)
+}