From the AWS doc (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) it needs to be PublicAccessBlockConfiguration.
Fixes: https://tracker.ceph.com/issues/64492
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit
db74c10e008caeb7092eb4c1268cbd6f044afa19)
}
void PublicAccessBlockConfiguration::dump_xml(Formatter *f) const {
- Formatter::ObjectSection os(*f, "BlockPublicAccessBlockConfiguration");
+ Formatter::ObjectSection os(*f, "PublicAccessBlockConfiguration");
// Note: AWS spec mentions the values to be ALL CAPs, but clients seem to
// require all small letters, and S3 itself doesn't seem to follow the API
// spec here