fix: need to return muReader early
This commit is contained in:
parent
0e61a5c1fa
commit
e435e6ded5
|
@ -109,6 +109,8 @@ func (s StorageServiceDefault) UploadObject(ctx context.Context, protocol Storag
|
||||||
if !found {
|
if !found {
|
||||||
readers = append(readers, muReader)
|
readers = append(readers, muReader)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return muReader, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := data.Seek(0, io.SeekStart)
|
_, err := data.Seek(0, io.SeekStart)
|
||||||
|
|
Loading…
Reference in New Issue