fix: need to return muReader early

This commit is contained in:
Derrick Hammer 2024-02-18 02:38:17 -05:00
parent 0e61a5c1fa
commit e435e6ded5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -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)