mirror of
https://github.com/minio/minio.git
synced 2026-11-16 14:53:19 +00:00
fix: validate partNumber in queryParam as part of preConditions (#9386)
This commit is contained in:
1 parent
2eeb0e6a0b
commit
282c9f790a
18 files changed
+73
-42
No files matched your search
@@ -478,7 +478,7 @@ func (l *b2Objects) GetObjectNInfo(ctx context.Context, bucket, object string, r
|
||||
// Setup cleanup function to cause the above go-routine to
|
||||
// exit in case of partial read
|
||||
pipeCloser := func() { pr.Close() }
|
||||
return minio.NewGetObjectReaderFromReader(pr, objInfo, opts.CheckCopyPrecondFn, pipeCloser)
|
||||
return minio.NewGetObjectReaderFromReader(pr, objInfo, opts, pipeCloser)
|
||||
}
|
||||
|
||||
// GetObject reads an object from B2. Supports additional
|
||||
|
||||
Reference in new issue
Block a user