allow bucket policy to set/removed in NAS gateway (#9706)

This commit is contained in:
kannappanr
2020-05-28 08:31:16 -07:00
committed by GitHub
parent 375b79f11b
commit 7214a0160a
2 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ function testHeadObject($s3Client, $objects) {
if (getStatusCode($result) != HTTP_OK)
throw new Exception('headObject API failed for ' .
$bucket . '/' . $object);
if ($result['Metadata'] != TEST_METADATA) {
if (strtolower($result['Metadata']) != strtolower(TEST_METADATA)) {
throw new Exception("headObject API Metadata didn't match for " .
$bucket . '/' . $object);
}