mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 04:06:23 +00:00
fix: azure list multipart uploads test failures
The latest azurite made a change where the blob metadata must be explicitly requested when calling NewListBlobsFlatPager(). We were taking action on metadata iteams, and the tests were failing due to these always missing without requesting metadata to be included in the response. Fix is to enable metadata for the response.
This commit is contained in:
@@ -1036,7 +1036,8 @@ func (az *Azure) ListMultipartUploads(ctx context.Context, input *s3.ListMultipa
|
||||
prefix := string(metaTmpMultipartPrefix)
|
||||
|
||||
pager := client.NewListBlobsFlatPager(&container.ListBlobsFlatOptions{
|
||||
Prefix: &prefix,
|
||||
Include: container.ListBlobsInclude{Metadata: true},
|
||||
Prefix: &prefix,
|
||||
})
|
||||
|
||||
for pager.More() {
|
||||
|
||||
Reference in New Issue
Block a user