From e435e6ded50469dd1c7e2dbcbe2204bb600c5549 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 18 Feb 2024 02:38:17 -0500 Subject: [PATCH] fix: need to return muReader early --- storage/storage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/storage.go b/storage/storage.go index 34e5bc7..2e5dbe6 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -109,6 +109,8 @@ func (s StorageServiceDefault) UploadObject(ctx context.Context, protocol Storag if !found { readers = append(readers, muReader) } + + return muReader, nil } _, err := data.Seek(0, io.SeekStart)