S3 Proxy DeleteObjects empty input (#340)

* feat: implemented the logic to run integration tests separately

* fix: Fixes #335, fixed s3 proxy DeleteObject empty input bug
This commit is contained in:
Jon Austin
2023-12-14 12:42:22 -05:00
committed by GitHub
parent a6e9fc5b00
commit 206231f27b

View File

@@ -409,6 +409,10 @@ func (s *S3be) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput)
return s3response.DeleteObjectsResult{}, err
}
if len(input.Delete.Objects) == 0 {
input.Delete.Objects = []types.ObjectIdentifier{}
}
output, err := client.DeleteObjects(ctx, input)
err = handleError(err)
if err != nil {