mirror of
https://github.com/pgsty/minio.git
synced 2026-10-08 18:55:58 +03:00
Add ObjectOptions to ObjectLayer calls (#6382)
This commit is contained in:
@@ -40,9 +40,10 @@ func TestXLCleanupStaleMultipartUploads(t *testing.T) {
|
||||
|
||||
bucketName := "bucket"
|
||||
objectName := "object"
|
||||
var opts ObjectOptions
|
||||
|
||||
obj.MakeBucketWithLocation(context.Background(), bucketName, "")
|
||||
uploadID, err := obj.NewMultipartUpload(context.Background(), bucketName, objectName, nil)
|
||||
uploadID, err := obj.NewMultipartUpload(context.Background(), bucketName, objectName, nil, opts)
|
||||
if err != nil {
|
||||
t.Fatal("Unexpected err: ", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user